Skip to content

Commit

Permalink
Merge pull request #219 from vibe-d/threaded_file_fix
Browse files Browse the repository at this point in the history
Fix missing threadSetup() call for async file open
  • Loading branch information
s-ludwig authored Mar 17, 2023
2 parents db0e0e2 + be424f1 commit 5baa964
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/eventcore/drivers/threadedfile.d
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ final class ThreadedFileEventDriver(Events : EventDriverEvents, Core : EventDriv
}

m_core.loop.addWaiter();
threadSetup();
m_fileThreadPool.run!openInThread(this, path, mode, on_opened);
}

Expand Down

0 comments on commit 5baa964

Please sign in to comment.