mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
Fix incorrect negation of isEmpty() in assertion (#20952)
This commit is contained in:
@@ -56,7 +56,7 @@ pub const StatWatcherScheduler = struct {
|
||||
}
|
||||
|
||||
fn deinit(this: *StatWatcherScheduler) void {
|
||||
bun.assertf(!this.watchers.isEmpty(), "destroying StatWatcherScheduler while it still has watchers", .{});
|
||||
bun.assertf(this.watchers.isEmpty(), "destroying StatWatcherScheduler while it still has watchers", .{});
|
||||
bun.destroy(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user