[tor-commits] [stem/master] Update `BaseController._event_loop` to keep the previous behavior

atagar at torproject.org atagar at torproject.org
Thu Jul 16 01:29:00 UTC 2020


commit 0dcb75bbaac67cd1c461f3bbc3fe5550c47072ef
Author: Illia Volochii <illia.volochii at gmail.com>
Date:   Thu May 21 22:52:22 2020 +0300

    Update `BaseController._event_loop` to keep the previous behavior
---
 stem/control.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/stem/control.py b/stem/control.py
index be7ab6c6..c26da351 100644
--- a/stem/control.py
+++ b/stem/control.py
@@ -989,6 +989,8 @@ class BaseController(_BaseControllerSocketMixin):
         try:
           await asyncio.wait_for(self._event_notice.wait(), timeout=0.05)
         except asyncio.TimeoutError:
+          pass
+        finally:
           self._event_notice.clear()
 
 





More information about the tor-commits mailing list