mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
do not close local shell #1926
This commit is contained in:
@@ -85,7 +85,7 @@ void Shell::stop() {
|
||||
|
||||
blocking_data->stop_ = true;
|
||||
} else {
|
||||
if (running()) {
|
||||
if (running() && !has_flags(CommandFlags::LOCAL)) { // do not close local shell
|
||||
stopped_ = true;
|
||||
stopped();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user