mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 14:43:28 +00:00
Fixes a 'leak' with telemetry
This is just something that isn't cleaned up on exit, so it isn't a "leak", but better to be explicit with the free.
This commit is contained in:
@@ -76,6 +76,7 @@ pub const LightPanda = struct {
|
||||
|
||||
fn run(self: *LightPanda) void {
|
||||
var aw = std.Io.Writer.Allocating.init(self.allocator);
|
||||
defer aw.deinit();
|
||||
|
||||
var batch: [MAX_BATCH_SIZE]*LightPandaEvent = undefined;
|
||||
self.mutex.lock();
|
||||
|
||||
Reference in New Issue
Block a user