summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/windows_events.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/asyncio/windows_events.py')
-rw-r--r--Lib/asyncio/windows_events.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/asyncio/windows_events.py b/Lib/asyncio/windows_events.py
index 375003c..65ecf34 100644
--- a/Lib/asyncio/windows_events.py
+++ b/Lib/asyncio/windows_events.py
@@ -489,6 +489,11 @@ class IocpProactor:
else:
f.set_result(value)
self._results.append(f)
+ # FIXME, tulip issue #196: add _OverlappedFuture.set_result()
+ # method to clear the refrence, don't do it here (f may
+ # by a _WaitHandleFuture). Problem: clearing the reference
+ # in _register() if ov.pedding is False leads to weird bugs.
+ f._ov = None
ms = 0
def _stop_serving(self, obj):