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
+1 -1
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)