1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 01:37:19 +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
No known key found for this signature in database
GPG Key ID: E3AD2E259F58A9A0

View File

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