Skip to content

Commit a576c4a

Browse files
committed
In Dtor of TransmissionSession, we must set m_IsConnected to false.
1 parent 865a956 commit a576c4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

c_cpp/tx.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ TransmissionSession::TransmissionSession(Transmission *const transmission, const
283283
/*OK*/
284284
TransmissionSession::~TransmissionSession()
285285
{
286+
m_IsConnected = false;
286287
m_Timer.Stop();
287288
while (m_TxQueue.size())
288289
{

0 commit comments

Comments
 (0)