mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-06-25 09:21:32 +02:00
feat(modem): Delete CMUX internal implementation even if terminal exit fails
This commit is contained in:
@ -156,12 +156,10 @@ bool DTE::exit_cmux()
|
||||
if (!cmux_term) {
|
||||
return false;
|
||||
}
|
||||
if (!cmux_term->deinit()) {
|
||||
return false;
|
||||
}
|
||||
const bool success = cmux_term->deinit();
|
||||
exit_cmux_internal();
|
||||
cmux_term.reset();
|
||||
return true;
|
||||
return success;
|
||||
}
|
||||
|
||||
void DTE::exit_cmux_internal()
|
||||
|
Reference in New Issue
Block a user