Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions mettle/src/mettle.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ eio_async_cb(struct ev_loop *loop, struct ev_async *w, int revents)
if (eio_poll() == -1) {
ev_idle_start(loop, &eio_idle_watcher);
}
ev_async_start(ev_default_loop(EV_LOOP_FLAGS), &eio_async_watcher);
}

static void
Expand All @@ -67,7 +66,7 @@ eio_want_poll(void)
static void
eio_done_poll(void)
{
ev_async_stop(ev_default_loop(EV_LOOP_FLAGS), &eio_async_watcher);
/* Keep the watcher active: restarting it can discard worker notifications. */
}

static void
Expand Down
Loading