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
1 changed files with 1 additions and 1 deletions

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);