From 4488194f59f8785da02336820cee5b389c552a2b Mon Sep 17 00:00:00 2001 From: Jason Paryani Date: Fri, 29 Jul 2016 11:57:05 -0700 Subject: [PATCH] Make event loop be lazy initialized for real --- capnp/lib/capnp.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capnp/lib/capnp.pyx b/capnp/lib/capnp.pyx index 57d675c..915968a 100644 --- a/capnp/lib/capnp.pyx +++ b/capnp/lib/capnp.pyx @@ -1631,7 +1631,7 @@ cdef class _EventLoop: cdef Own[AsyncIoStream] wrapSocketFd(self, int fd): return deref(deref(self.thisptr).lowLevelProvider).wrapSocketFd(fd) -cdef _EventLoop C_DEFAULT_EVENT_LOOP = _EventLoop() +cdef _EventLoop C_DEFAULT_EVENT_LOOP _C_DEFAULT_EVENT_LOOP_LOCAL = None _THREAD_LOCAL_EVENT_LOOPS = []