Skip to content

Commit 0ae9f5a

Browse files
committed
do the thing I said I would do
1 parent 0ce5c30 commit 0ae9f5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hxcoro/run/Setup.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class Setup {
8181
static public function createLuvThreadPool() {
8282
final pool = new hxcoro.thread.FixedThreadPool(10);
8383
return createLuvGen(
84-
(uvLoop, loop) -> new hxcoro.dispatchers.LuvDispatcher(uvLoop, loop),
84+
(uvLoop, loop) -> new hxcoro.dispatchers.ThreadPoolDispatcher(loop, pool),
8585
dispatcher -> pool.shutDown()
8686
);
8787
}

0 commit comments

Comments
 (0)