socketry / io-event

MIT License
75 stars 16 forks source link

The `saved` node is not always cleaned up. #83

Closed ioquatix closed 1 year ago

ioquatix commented 1 year ago

If exiting via an exception, as demonstrated in https://github.com/socketry/async/issues/281, the list can become corrupt as this node won't be removed and then points to invalid memory.

https://github.com/socketry/io-event/blob/b7954d657fb9a5f99badbf23a9af85a2c91efad6/ext/io/event/selector/epoll.c#L917