socketry / async

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

transient task hangs #244

Closed emiltin closed 1 year ago

emiltin commented 1 year ago

I don't understand why this code never completes:

require 'async'
Async transient:true do
  Async { sleep 1 }
end
emiltin commented 1 year ago

Using async 2.5.1, ruby 3.2.2

ioquatix commented 1 year ago

It looks like a bug.

ioquatix commented 1 year ago

I have a working repro/test case and know what the issue is, I'll try to release a fix tomorrow.

emiltin commented 1 year ago

Thank you for a quick fix 👍

ioquatix commented 1 year ago

Thanks for reporting it!