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:
Karl Seguin
2025-10-01 16:41:20 +08:00
parent c335a545a3
commit 9d172bb29d

View File

@@ -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();