-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix request increment ref bug (#1121)
The sendToWriteCh() method would increment the ref of a request by 2 (one for the write and another for the publisher). The ref value was always decremented by the doWrite() function but the publisher would decrement it only if there were any subscribers. With this commit, we increment the request ref for the publisher only if there are any actual subscribers.
- Loading branch information
Ibrahim Jarif
authored
Nov 22, 2019
1 parent
fb0cdb8
commit ad770ca
Showing
3 changed files
with
18 additions
and
4 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
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
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