mirror of
				https://github.com/lightpanda-io/browser.git
				synced 2025-10-29 15:13:28 +00:00 
			
		
		
		
	Don't queue data to send after we've initiated a disconnect of the client
This commit is contained in:
		| @@ -633,6 +633,10 @@ pub const Client = struct { | ||||
|     } | ||||
|  | ||||
|     fn queueSend(self: *Self) void { | ||||
|         if (self.connected == false) { | ||||
|             return; | ||||
|         } | ||||
|  | ||||
|         const node = self.send_queue.first orelse { | ||||
|             // no more messages to send; | ||||
|             return; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Karl Seguin
					Karl Seguin