Fix close Websocket (#434)
This commit is contained in:
parent
2982eb9645
commit
d24f3d6f5c
@ -154,7 +154,7 @@ class KlippyWebsocket(threading.Thread):
|
||||
|
||||
if self.closing is True:
|
||||
logging.debug("Closing websocket")
|
||||
self.ws.stop()
|
||||
self.ws.close()
|
||||
return
|
||||
|
||||
logging.info("Moonraker Websocket Closed")
|
||||
|
Loading…
x
Reference in New Issue
Block a user