mirror of https://github.com/ARMmbed/mbed-os.git
Unchain the queue when connection is stopped
parent
870c3bce59
commit
2de83fb286
|
@ -84,6 +84,11 @@ void CellularConnectionFSM::stop()
|
|||
_queue_thread = NULL;
|
||||
}
|
||||
|
||||
if (_at_queue) {
|
||||
_at_queue->chain(NULL);
|
||||
_at_queue = NULL;
|
||||
}
|
||||
|
||||
if (_power) {
|
||||
_cellularDevice->close_power();
|
||||
_power = NULL;
|
||||
|
|
Loading…
Reference in New Issue