Skip to content

Commit

Permalink
Address #1452 - Partial revert some changes from #1391
Browse files Browse the repository at this point in the history
This doesn't seem to reintroduce the original issue. There was
definitely some interplay with #1431

Doing git bisect landed me at commit
2f0c789 as the first bad commit for
issue #1452.
  • Loading branch information
bakpakin committed Jun 7, 2024
1 parent f0f03ad commit e2a8951
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/core/ev.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,13 +281,9 @@ void janet_async_start(JanetStream *stream, JanetAsyncMode mode, JanetEVCallback
janet_assert(!fiber->ev_callback, "double async on fiber");
if (mode & JANET_ASYNC_LISTEN_READ) {
stream->read_fiber = fiber;
} else {
stream->read_fiber = NULL;
}
if (mode & JANET_ASYNC_LISTEN_WRITE) {
stream->write_fiber = fiber;
} else {
stream->write_fiber = NULL;
}
fiber->ev_callback = callback;
fiber->ev_stream = stream;
Expand Down

0 comments on commit e2a8951

Please sign in to comment.