Skip to content

Commit

Permalink
New safer delay
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 8, 2019
1 parent 33a14fe commit f520b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netius/base/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,7 @@ def pipe_handler(signum = None, frame = None):
# possible and then forces the wakeup, because although we're
# running on the main thread we're possible under a blocking
# statement and so we need to wakeup the parent loop
self.delay(callback, immediately = True)
self.delay_s(callback, immediately = True)
if hasattr(self, "_awaken") and not self._awaken:
self._awaken = True
raise errors.WakeupError()
Expand Down

0 comments on commit f520b02

Please sign in to comment.