We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0875a6e commit 2a6c01eCopy full SHA for 2a6c01e
ws4py/server/cherrypyserver.py
@@ -282,14 +282,14 @@ def __init__(self, bus):
282
self.manager = WebSocketManager()
283
284
def start(self):
285
- cherrypy.log("Starting WebSocket processing")
+ self.bus.log("Starting WebSocket processing")
286
self.bus.subscribe('stop', self.cleanup)
287
self.bus.subscribe('handle-websocket', self.handle)
288
self.bus.subscribe('websocket-broadcast', self.broadcast)
289
self.manager.start()
290
291
def stop(self):
292
- cherrypy.log("Terminating WebSocket processing")
+ self.bus.log("Terminating WebSocket processing")
293
self.bus.unsubscribe('stop', self.cleanup)
294
self.bus.unsubscribe('handle-websocket', self.handle)
295
self.bus.unsubscribe('websocket-broadcast', self.broadcast)
0 commit comments