mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 04:49:06 +00:00
Better error for undefined memory here
This commit is contained in:
committed by
Jarred Sumner
parent
9e4c11e280
commit
07c010a377
@@ -357,7 +357,9 @@ pub const EventLoop = struct {
|
||||
finished += 1;
|
||||
vm_.active_tasks -|= 1;
|
||||
},
|
||||
else => unreachable,
|
||||
else => if (Environment.allow_assert) {
|
||||
bun.Output.prettyln("\nUnexpected tag: {s}\n", .{@tagName(task.tag())});
|
||||
} else unreachable,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user