We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78856a3 commit ba9c155Copy full SHA for ba9c155
pproxy/__doc__.py
@@ -1,5 +1,5 @@
1
__title__ = "pproxy"
2
-__version__ = "2.4.5"
+__version__ = "2.4.6"
3
__license__ = "MIT"
4
__description__ = "Proxy server that can tunnel among remote servers by regex rules."
5
__keywords__ = "proxy socks http shadowsocks shadowsocksr ssr redirect pf tunnel cipher ssl udp"
pproxy/server.py
@@ -635,7 +635,7 @@ def main():
635
print('exit')
636
if args.sys:
637
args.sys.clear()
638
- for task in asyncio.Task.all_tasks():
+ for task in asyncio.all_tasks(loop) if hasattr(asyncio, 'all_tasks') else asyncio.Task.all_tasks():
639
task.cancel()
640
for server in servers:
641
server.close()
0 commit comments