Call StopDevice() in EmuNetDevice::DoDispose()

This commit is contained in:
Gustavo J. A. M. Carneiro
2010-08-17 21:28:08 -07:00
parent e6a63436e0
commit 7f97723ba8

View File

@@ -211,6 +211,10 @@ void
EmuNetDevice::DoDispose()
{
NS_LOG_FUNCTION_NOARGS ();
if (m_readThread != 0)
{
StopDevice ();
}
m_node = 0;
NetDevice::DoDispose ();
}