1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-24 17:27:18 +00:00

Change fix with ev/call

This commit is contained in:
Josef Pospíšil 2020-11-10 10:39:33 +01:00
parent bf6eae711a
commit 2be09790a9

View File

@ -2739,7 +2739,7 @@
[host port &opt handler type]
(def s (net/listen host port type))
(if handler
(ev/go (coro (net/accept-loop s handler))))
(ev/call (fn [] (net/accept-loop s handler))))
s))
(undef guarddef)