Skip to content

Commit

Permalink
GH-822 Add in clear of executor
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Oct 1, 2024
1 parent 6a3980b commit a31949a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/state_history_plugin/state_history_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,8 @@ void state_history_plugin_impl::plugin_shutdown() {
app().executor().get_io_service().restart();
while (app().executor().get_io_service().poll())
;
// clear priority queue of anything pushed by poll(), see application_base exec()
app().executor().clear();
}
}

Expand Down

0 comments on commit a31949a

Please sign in to comment.