SomberNight
6 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
2 additions and
1 deletions
-
electrum/lnbase.py
|
@ -359,7 +359,8 @@ class Peer(PrintError): |
|
|
|
|
|
|
|
|
def close_and_cleanup(self): |
|
|
def close_and_cleanup(self): |
|
|
try: |
|
|
try: |
|
|
self.writer.close() |
|
|
if self.transport: |
|
|
|
|
|
self.transport.writer.close() |
|
|
except: |
|
|
except: |
|
|
pass |
|
|
pass |
|
|
for chan in self.channels.values(): |
|
|
for chan in self.channels.values(): |
|
|