socketry / async

An awesome asynchronous event-driven reactor for Ruby.
MIT License
2.05k stars 85 forks source link

Improved state handling #222

Closed ioquatix closed 1 year ago

ioquatix commented 1 year ago

After investigating https://github.com/socketry/async/issues/220, I found some race conditions in the state handling logic of Task. This PR attempts to address them.

Fixes https://github.com/socketry/async/issues/220.

Types of Changes

Contribution