Index: mojo/public/python/mojo_system_impl.pyx |
diff --git a/mojo/public/python/mojo_system_impl.pyx b/mojo/public/python/mojo_system_impl.pyx |
index 3e299c1487180d389f8a8ba71c78ac69a375461d..3b7cfebf83b5f976ed2c7a8c52072030daa2c23a 100644 |
--- a/mojo/public/python/mojo_system_impl.pyx |
+++ b/mojo/public/python/mojo_system_impl.pyx |
@@ -57,16 +57,13 @@ cdef class RunLoop(object): |
# We use a wrapping class to be able to call the C++ class PythonAsyncWaiter |
# across module boundaries. |
cdef class AsyncWaiter(object): |
- cdef c_environment.CEnvironment* _cenvironment |
cdef c_async_waiter.PythonAsyncWaiter* _c_async_waiter |
def __init__(self): |
- self._cenvironment = new c_environment.CEnvironment() |
self._c_async_waiter = c_environment.NewAsyncWaiter() |
def __dealloc__(self): |
del self._c_async_waiter |
- del self._cenvironment |
def AsyncWait(self, handle, signals, deadline, callback): |
return self._c_async_waiter.AsyncWait(handle, signals, deadline, callback) |