socketry / async

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

`Task#stop` should not stop nested transient tasks. #115

Closed ioquatix closed 3 years ago

ioquatix commented 3 years ago

In some cases, transient tasks are created with a parent which could be stopped. But the transient task can outlive this parent task.

There are a couple of options: