forked from sysrepo/sysrepo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
shm_sub BUGFIX clear left over event and orig_cid
orig_cid should always be cleared when the originator stops waiting for the subscribers. If not, subsequent events cannot be generated on the subscription SHM, until the previous originator process is restarted. Normally, the wait logic takes care of this. However, in case a subscription evpipe could not be notified we bail on waiting and return with error. However, in this case orig_cid and event are left behind never to be cleared.
- Loading branch information
1 parent
1773ced
commit ed1a659
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters