Skip to content

Commit

Permalink
Reuse same ec
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Oct 5, 2023
1 parent c94682f commit adc24ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/producer_plugin/producer_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1391,8 +1391,7 @@ void producer_plugin::plugin_startup()
void producer_plugin::plugin_shutdown() {
boost::system::error_code ec;
my->_timer.cancel(ec);
boost::system::error_code ro_ec;
my->_ro_timer.cancel(ro_ec);
my->_ro_timer.cancel(ec);
app().executor().stop();
my->_ro_thread_pool.stop();
my->_thread_pool.stop();
Expand Down

0 comments on commit adc24ae

Please sign in to comment.