minor fix

This commit is contained in:
Yuzu 2025-04-12 18:45:30 -05:00
parent acc539c342
commit 52a0394603

View File

@ -265,7 +265,7 @@ fn readMessage(self: *Self, _: anytype) !void {
// make sure to avoid race conditions // make sure to avoid race conditions
// we free this payload eventually once our event executes // we free this payload eventually once our event executes
payload.* = raw.value.d.?; if (raw.value.d) |p| payload.* = p;
switch (@as(Opcode, @enumFromInt(raw.value.op))) { switch (@as(Opcode, @enumFromInt(raw.value.op))) {
.Dispatch => { .Dispatch => {