mirror of
https://github.com/janet-lang/janet
synced 2025-10-24 20:27:41 +00:00
Add per-thread finalizer calls in missing places.
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
(while true
|
||||
(def item (ev/take thread-channel))
|
||||
(when (= item :deadline)
|
||||
(ev/deadline 0.1 nil (fiber/current) true))))
|
||||
(ev/deadline 0.1))))
|
||||
(ev/thread worker nil :n super)
|
||||
(ev/give thread-channel :deadline)
|
||||
(ev/sleep 0.2)
|
||||
|
||||
Reference in New Issue
Block a user