Merge pull request #1967 from MichaelDvP/dev

fix close shell in native build #1966
This commit is contained in:
Proddy
2024-08-29 08:36:57 +02:00
committed by GitHub

View File

@@ -85,7 +85,11 @@ void Shell::stop() {
blocking_data->stop_ = true;
} else {
#if defined(EMSESP_STANDALONE)
if (running()) {
#else
if (running() && !has_flags(CommandFlags::LOCAL)) { // do not close local shell
#endif
stopped_ = true;
stopped();
}