Audio: make deinit explicit

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-04-28 10:34:20 -07:00 committed by Stephen Gutekanst
parent 4a000c7995
commit 3504dfcab6
2 changed files with 7 additions and 1 deletions

View file

@ -14,11 +14,11 @@ pub const components = .{
pub const local_events = .{
.init = .{ .handler = init },
.deinit = .{ .handler = deinit },
.audio_tick = .{ .handler = audioTick },
};
pub const global_events = .{
.deinit = .{ .handler = deinit },
.audio_state_change = .{ .handler = fn (mach.EntityID) void },
};