# HG changeset patch # User Paul Boddie # Date 1679523252 -3600 # Node ID caae4f22112bb9d9b8fd8f248d335ff5e97072ea # Parent 32d715531598f0e3bb12815a7ee8371bb0cb87df Permit re-entry, needed when subscribing to receive deferred notifications. diff -r 32d715531598 -r caae4f22112b libnotifier/lib/src/notifier.cc --- a/libnotifier/lib/src/notifier.cc Wed Mar 22 23:13:16 2023 +0100 +++ b/libnotifier/lib/src/notifier.cc Wed Mar 22 23:14:12 2023 +0100 @@ -187,6 +187,12 @@ state.endpoint = server.config()->server; } + /* Allow this object to be re-entered. This may occur because the subscribe + operation can cause deferred notifications to be sent back to the + subscribed notifier and to this object. */ + + state_guard.unlock(); + /* Subscribe, sending the notification endpoint via the principal reference for the object. */