diff options
| author | Robby Zambito <contact@robbyzambito.me> | 2026-01-24 19:19:00 -0500 |
|---|---|---|
| committer | Robby Zambito <contact@robbyzambito.me> | 2026-01-24 20:14:22 -0500 |
| commit | 09152377ed537c9b262e6b0a66a8ce88ca2619ad (patch) | |
| tree | f3e5365ae2827082fa61c029bb4654f2acc026c8 /src/c_api.zig | |
| parent | c3b17f826740bed3f2785e97550f647cf38dfb7f (diff) | |
Fix reconnection
Was failing to reconnect due to trying to reuse the same socket that
already had a BPF filter on it.
Diffstat (limited to 'src/c_api.zig')
| -rw-r--r-- | src/c_api.zig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/c_api.zig b/src/c_api.zig index 8f861b9..964f399 100644 --- a/src/c_api.zig +++ b/src/c_api.zig @@ -57,7 +57,6 @@ export fn zaprus_connect( export fn zaprus_deinit_connection(connection: ?*ZaprusConnection) void { const c: ?*zaprus.Connection = @ptrCast(@alignCast(connection)); if (c) |zc| { - zc.deinit(); alloc.destroy(zc); } } |
