Skip to content

Commit 2de83fb

Browse files
author
Marc Emmers
committed
Unchain the queue when connection is stopped
1 parent 870c3bc commit 2de83fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

features/cellular/easy_cellular/CellularConnectionFSM.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ void CellularConnectionFSM::stop()
8484
_queue_thread = NULL;
8585
}
8686

87+
if (_at_queue) {
88+
_at_queue->chain(NULL);
89+
_at_queue = NULL;
90+
}
91+
8792
if (_power) {
8893
_cellularDevice->close_power();
8994
_power = NULL;

0 commit comments

Comments
 (0)