Skip to content

Commit 08a50a8

Browse files
authored
Merge pull request #1110 from lightpanda-io/telemetry_leak
Fixes a 'leak' with telemetry
2 parents c891322 + 9d172bb commit 08a50a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/telemetry/lightpanda.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ pub const LightPanda = struct {
7676

7777
fn run(self: *LightPanda) void {
7878
var aw = std.Io.Writer.Allocating.init(self.allocator);
79+
defer aw.deinit();
7980

8081
var batch: [MAX_BATCH_SIZE]*LightPandaEvent = undefined;
8182
self.mutex.lock();

0 commit comments

Comments
 (0)