mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-07 23:45:13 +00:00
don't close twice
This commit is contained in:
parent
a006d8c125
commit
40c78940ef
1 changed files with 2 additions and 0 deletions
|
|
@ -244,6 +244,8 @@ class WebSocketConnection(object):
|
|||
self.interruptPipeRecv = None
|
||||
|
||||
def close(self):
|
||||
if not self.open:
|
||||
return
|
||||
self.open = False
|
||||
self.interrupt()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue