Commit c547e2fe authored by Denis Bilenko's avatar Denis Bilenko

resolver_thread: add noop close() method

parent 01bb2586
...@@ -13,6 +13,9 @@ class Resolver(object): ...@@ -13,6 +13,9 @@ class Resolver(object):
hub = get_hub() hub = get_hub()
self.pool = hub.threadpool self.pool = hub.threadpool
def close(self):
pass
# from briefly reading socketmodule.c, it seems that all of the functions # from briefly reading socketmodule.c, it seems that all of the functions
# below are thread-safe in Python, even if they are not thread-safe in C. # below are thread-safe in Python, even if they are not thread-safe in C.
......
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