fix(AsyncNotificationCenter): hang on stop() #5059

This commit is contained in:
Alex Fabijanic
2025-11-06 20:39:34 +01:00
committed by Matej Kenda
parent 7d08a85e5d
commit 1284103b98
2 changed files with 10 additions and 1 deletions

View File

@@ -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