AntelopeIO / appbase

Other
1 stars 6 forks source link

Use stopped() instead of quit flag to exit exec loop #35

Closed heifner closed 4 weeks ago

heifner commented 1 month ago

By checking is_quitting() before calling poll() there is the possibility that something was posted but not drained to the priority queue. Instead use the io_context stopped() to break out of the loop after calling poll().

heifner commented 4 weeks ago

Included in #34