mirror of
https://github.com/janet-lang/janet
synced 2025-01-14 01:20:27 +00:00
Merge pull request #502 from pepe/fix-net-server-fiber
Fix net server fiber
This commit is contained in:
commit
93bd2c11fa
@ -2739,7 +2739,7 @@
|
||||
[host port &opt handler type]
|
||||
(def s (net/listen host port type))
|
||||
(if handler
|
||||
(ev/go (fn [] (net/accept-loop s handler))))
|
||||
(ev/call (fn [] (net/accept-loop s handler))))
|
||||
s))
|
||||
|
||||
(undef guarddef)
|
||||
|
Loading…
Reference in New Issue
Block a user