]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
avoid acquiring IOLoop in ExecutorResolver 3110/head
authorThomas Grainger <tagrain@gmail.com>
Mon, 7 Feb 2022 18:13:37 +0000 (18:13 +0000)
committerThomas Grainger <tagrain@gmail.com>
Mon, 7 Feb 2022 18:13:37 +0000 (18:13 +0000)
tornado/netutil.py

index 4a1135405a7392df4fcab654f5f585d507f9f5e9..68943d82503f8519d1f0e110b3251af3d9745164 100644 (file)
@@ -430,7 +430,6 @@ class ExecutorResolver(Resolver):
         executor: Optional[concurrent.futures.Executor] = None,
         close_executor: bool = True,
     ) -> None:
-        self.io_loop = IOLoop.current()
         if executor is not None:
             self.executor = executor
             self.close_executor = close_executor