aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/node/node_fs_stat_watcher.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/node/node_fs_stat_watcher.zig')
-rw-r--r--src/bun.js/node/node_fs_stat_watcher.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/node/node_fs_stat_watcher.zig b/src/bun.js/node/node_fs_stat_watcher.zig
index 3bf262f07..158a08ff7 100644
--- a/src/bun.js/node/node_fs_stat_watcher.zig
+++ b/src/bun.js/node/node_fs_stat_watcher.zig
@@ -97,7 +97,7 @@ pub const StatWatcherScheduler = struct {
prev = next;
} else {
if (this.head.load(.Monotonic) == null) {
- this.timer.?.deinit();
+ this.timer.?.deinit(false);
this.timer = null;
// The scheduler is not deinit here, but it will get reused.
}