mirror of
https://github.com/janet-lang/janet
synced 2024-11-25 01:37:19 +00:00
Change fix with ev/call
This commit is contained in:
parent
bf6eae711a
commit
2be09790a9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user