Skip to content

Commit

Permalink
fix close shell in native build emsesp#1966
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDvP committed Aug 29, 2024
1 parent 0c4d0d0 commit 5853181
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/uuid-console/src/shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 5853181

Please sign in to comment.