Merge pull request #502 from pepe/fix-net-server-fiber

Fix net server fiber
This commit is contained in:
Calvin Rose 2020-11-11 15:33:42 -06:00 committed by GitHub
commit 93bd2c11fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)