Bug 381: Wifi crashes on shutdown

This commit is contained in:
fmoatamr committed 2009-12-10 12:42:20 +01:00
1 parent 1500732556
commit 0fdf52db2e
1 file changed
+9 -1
+9 -1
View File
@@ -303,7 +303,15 @@ void
MacLow::DoDispose (void)
{
NS_LOG_FUNCTION (this);
CancelAllEvents ();
m_normalAckTimeoutEvent.Cancel ();
m_fastAckTimeoutEvent.Cancel ();
m_superFastAckTimeoutEvent.Cancel ();
m_fastAckFailedTimeoutEvent.Cancel ();
m_ctsTimeoutEvent.Cancel ();
m_sendCtsEvent.Cancel ();
m_sendAckEvent.Cancel ();
m_sendDataEvent.Cancel ();
m_waitSifsEvent.Cancel ();
m_phy = 0;
m_stationManager = 0;
delete m_phyMacLowListener;