Skip to content

Commit

Permalink
DPL GUI: do not hang if quit requested but some devices are stuck
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Nov 16, 2023
1 parent de78259 commit 73eddeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/Core/src/runDataProcessing.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ void gui_callback(uv_timer_s* ctx)
if (gui->plugin->supportsDeferredClose()) {
// For now, there is nothing for which we want to defer the close
// so if the flag is set, we simply exit
if (*(gui->guiQuitRequested)) {
if (*(gui->guiQuitRequested) && *(gui->allChildrenGone)) {
return;
}
void* draw_data = nullptr;
Expand Down

0 comments on commit 73eddeb

Please sign in to comment.