SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
1 deletions
-
electrum/network.py
|
@ -829,7 +829,7 @@ class Network(PrintError): |
|
|
async def _stop(self, full_shutdown=False): |
|
|
async def _stop(self, full_shutdown=False): |
|
|
self.print_error("stopping network") |
|
|
self.print_error("stopping network") |
|
|
try: |
|
|
try: |
|
|
asyncio.wait_for(await self.main_taskgroup.cancel_remaining(), timeout=2) |
|
|
await asyncio.wait_for(self.main_taskgroup.cancel_remaining(), timeout=2) |
|
|
except asyncio.TimeoutError: pass |
|
|
except asyncio.TimeoutError: pass |
|
|
self.main_taskgroup = None |
|
|
self.main_taskgroup = None |
|
|
|
|
|
|
|
|