Skip to content
Snippets Groups Projects
Commit e4177396 authored by kpayson64's avatar kpayson64 Committed by GitHub
Browse files

Merge pull request #10345 from kpayson64/real_spinlock_fix

Fix Python poll() server spinlock bug
parents d93e4d3d c9a3aaaa
No related branches found
No related tags found
No related merge requests found
......@@ -705,6 +705,10 @@ def _serve(state):
state.rpc_states.remove(rpc_state)
if _stop_serving(state):
return
# We want to force the deletion of the previous event
# ~before~ we poll again; if the event has a reference
# to a shutdown Call object, this can induce spinlock.
event = None
def _stop(state, grace):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment