Skip to content

Commit

Permalink
Minor style change to comments around #527 and #449 issues and releas…
Browse files Browse the repository at this point in the history
…e/dispatch/notify ordering
  • Loading branch information
comrumino committed Feb 21, 2023
1 parent ba22029 commit 92c94e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpyc/core/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ def serve(self, timeout=1, wait_for_lock=True): # serving
else:
return False
# Assume the receive rlock is acquired and incremented
# We must release once, dispatch any data, and THEN notify all (see issue #527 and #449)
# We must release once BEFORE dispatch, dispatch any data, and THEN notify all (see issue #527 and #449)
try:
data = None # Ensure data is initialized
data = self._channel.poll(timeout) and self._channel.recv()
Expand Down

0 comments on commit 92c94e7

Please sign in to comment.