add missing call to Simulator::Destroy to cleanup after test
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed, 10 Oct 2007 15:32:04 +0200
changeset 1704 41c3142f4293
parent 1703 3f808ee49c2f
child 1705 ae9623064367
add missing call to Simulator::Destroy to cleanup after test
src/internet-node/udp-socket.cc
--- a/src/internet-node/udp-socket.cc	Wed Oct 10 11:14:16 2007 +0100
+++ b/src/internet-node/udp-socket.cc	Wed Oct 10 15:32:04 2007 +0200
@@ -452,6 +452,8 @@
   NS_TEST_ASSERT_EQUAL (m_receivedPacket.GetSize (), 123);
   NS_TEST_ASSERT_EQUAL (m_receivedPacket2.GetSize (), 123);
 
+  Simulator::Destroy ();
+
   return result;
 }