1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-20 02:07:40 +00:00

Logical error regarding length fixed.

This commit is contained in:
llmII
2021-09-03 22:41:59 -05:00
parent 95891eb0a5
commit 4fb2d8d318

View File

@@ -1661,7 +1661,7 @@ static void janet_unlisten(JanetListenerState *state, int is_gc) {
length++;
}
add_kqueue_events(kev, 2);
add_kqueue_events(kev, length);
}
}
janet_unlisten_impl(state, is_gc);