prevent memory leaks from error in _broadcast_queue_data
This commit is contained in:
		| @@ -211,6 +211,9 @@ class ApiServer(RPCHandler): | ||||
|             # Disconnect channels and stop the loop on cancel | ||||
|             await self._ws_channel_manager.disconnect_all() | ||||
|             self._ws_loop.stop() | ||||
|             # Avoid adding more items to the queue if they aren't | ||||
|             # going to get broadcasted. | ||||
|             self._ws_queue = None | ||||
|  | ||||
|     def start_api(self): | ||||
|         """ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user