mirror of
https://github.com/janet-lang/janet
synced 2025-11-14 06:17:15 +00:00
Logical error regarding length fixed.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user