socketry / async-container

Scalable multi-thread multi-process containers for Ruby.
MIT License
81 stars 4 forks source link

Prefer thread current raise #30

Closed ioquatix closed 9 months ago

ioquatix commented 9 months ago

I'm investigating some odd shutdown behaviour in async-job when integrated with Rails. An exception is being raised during Thread.handle_interrupt incorrectly. Using Thread.current.raise prevents this.

Types of Changes

Contribution