mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 19:19:53 +00:00
Logical error regarding length fixed.
This commit is contained in:
parent
95891eb0a5
commit
4fb2d8d318
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user