good god, there should be no reason to call Dispose directly here.
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Mon, 23 Mar 2009 13:21:51 +0100
changeset 4362 9e9c734b927e
parent 4359 8d689bf4405f
child 4363 55ccad74d7cc
good god, there should be no reason to call Dispose directly here.
src/routing/olsr/olsr-agent-impl.cc
--- a/src/routing/olsr/olsr-agent-impl.cc	Mon Mar 23 09:56:27 2009 +0100
+++ b/src/routing/olsr/olsr-agent-impl.cc	Mon Mar 23 13:21:51 2009 +0100
@@ -218,7 +218,7 @@
   for (std::map< Ptr<Socket>, Ipv4Address >::iterator iter = m_socketAddresses.begin ();
        iter != m_socketAddresses.end (); iter++)
     {
-      iter->first->Dispose ();
+      iter->first->Close ();
     }
   m_socketAddresses.clear ();