You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the SelectorEventLoop initializer you call setReader() method with a callback handler. This callback handler retains self object reference. Thus deinit() method will never be called after releasing SelectorEventLoop reference.
To release object it is needed to call removeReader() method first. It is public, but it parameter pipeReceiver is a private field. It looks like something went wrong.
The text was updated successfully, but these errors were encountered:
Hey @v-lavrentikov, thanks for reporting! That's a good caught. Yep, indeed it's creating a reference cycle there, I've already created a PR here #60, will soon merge it and make a new release once the tests pass.
In the
SelectorEventLoop
initializer you callsetReader()
method with a callback handler. This callback handler retainsself
object reference. Thusdeinit()
method will never be called after releasingSelectorEventLoop
reference.To release object it is needed to call
removeReader()
method first. It is public, but it parameter pipeReceiver is a private field. It looks like something went wrong.The text was updated successfully, but these errors were encountered: