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 case where actor A, that is being watched by remote actor B, terminates immediately after being unwatched by B, there is a chance the AddressTerminatedTopic leaks a reference to A.
The issue arises due to TellWatchersWeDied() clearing the incorrect "watching" list when it should clear the watchedBy list in its finally block. Also, the clearing should be wrapped in a MaintainAddressTerminatedSubscription().
For reference, original Akka already implements the proposed change.
I have a pending fix for this and will make a PR.
Using Akka.Net version 1.3.17, though bug seems to have been there for years. Bug appears on Windows and dockerized Linux. I don't have a simple repro, but am seeing it in a larger system.
The text was updated successfully, but these errors were encountered:
In case where actor A, that is being watched by remote actor B, terminates immediately after being unwatched by B, there is a chance the AddressTerminatedTopic leaks a reference to A.
The issue arises due to TellWatchersWeDied() clearing the incorrect "watching" list when it should clear the watchedBy list in its finally block. Also, the clearing should be wrapped in a MaintainAddressTerminatedSubscription().
For reference, original Akka already implements the proposed change.
I have a pending fix for this and will make a PR.
Using Akka.Net version 1.3.17, though bug seems to have been there for years. Bug appears on Windows and dockerized Linux. I don't have a simple repro, but am seeing it in a larger system.
The text was updated successfully, but these errors were encountered: