wifi: No need to reset Ptr before clearing the map
This commit is contained in:
committed by
Sébastien Deronne
parent
ac1573c1b3
commit
c645f7240c
@@ -422,10 +422,6 @@ WifiPhy::DoDispose()
|
||||
m_random = nullptr;
|
||||
m_state = nullptr;
|
||||
m_currentEvent = nullptr;
|
||||
for (auto& preambleEvent : m_currentPreambleEvents)
|
||||
{
|
||||
preambleEvent.second = nullptr;
|
||||
}
|
||||
m_currentPreambleEvents.clear();
|
||||
|
||||
for (auto& phyEntity : m_phyEntities)
|
||||
|
||||
Reference in New Issue
Block a user