Commit c4d6fcdd authored by Vladimir Matveev's avatar Vladimir Matveev Committed by Facebook GitHub Bot

Convert cdef values into module level attributes

Summary: As in title, replace cdef values with module level attributes

Reviewed By: pranavtbhat

Differential Revision: D32788433

fbshipit-source-id: 7df97fd17a6aef9cd2d637f12c0bef8993fd253f
parent b7b3c160
......@@ -31,12 +31,12 @@ from weakref import WeakKeyDictionary
#asynico Loops to FiberManager
cdef object loop_to_controller = WeakKeyDictionary()
loop_to_controller = WeakKeyDictionary()
# weak reference to the last seen event loop
cdef object last_loop = None
last_loop = None
# FiberManager for the last seen event loop
cdef object last_manager = None
last_manager = None
# cleanup callback that would clean last_manager
# if object referenced by last_loop is collected
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment