mirror of
				https://github.com/lightpanda-io/browser.git
				synced 2025-10-29 15:13:28 +00:00 
			
		
		
		
	add debug line on cdp buffer growth
This commit is contained in:
		| @@ -785,6 +785,8 @@ fn growBuffer(allocator: Allocator, buf: []u8, required_capacity: usize) ![]u8 { | ||||
|         if (new_capacity >= required_capacity) break; | ||||
|     } | ||||
|  | ||||
|     log.debug(.app, "CDP buffer growth", .{ .from = buf.len, .to = new_capacity }); | ||||
|  | ||||
|     if (allocator.resize(buf, new_capacity)) { | ||||
|         return buf.ptr[0..new_capacity]; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Karl Seguin
					Karl Seguin