Skip to content

Commit 76f77f4

Browse files
author
Stefano Avallone
committed
wifi: Txops are disposed by WifiMac
1 parent de2c14a commit 76f77f4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/wifi/model/channel-access-manager.cc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,7 @@ void
249249
ChannelAccessManager::DoDispose()
250250
{
251251
NS_LOG_FUNCTION(this);
252-
for (Ptr<Txop> i : m_txops)
253-
{
254-
i->Dispose();
255-
i = nullptr;
256-
}
252+
m_txops.clear();
257253
m_phy = nullptr;
258254
m_feManager = nullptr;
259255
m_phyListeners.clear();

0 commit comments

Comments
 (0)