mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-08 03:57:21 +01:00
fix(AsyncNotificationCenter): hang on stop() #5059
This commit is contained in:
committed by
Matej Kenda
parent
7d08a85e5d
commit
1284103b98
@@ -120,6 +120,11 @@ private:
|
||||
|
||||
using Adapter = RunnableAdapter<AsyncNotificationCenter>;
|
||||
|
||||
class ShutdownNotification: public Notification
|
||||
/// Internal notification used to signal the dequeue loop to stop.
|
||||
{
|
||||
};
|
||||
|
||||
const AsyncMode _mode { AsyncMode::ENQUEUE };
|
||||
|
||||
// Async enqueue for notifications
|
||||
|
||||
Reference in New Issue
Block a user