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
We are using Orleans version 7.2.6 and observe the following problem:
When the silo is shut down, grain method OnDeactivateAsync is not called, but only if the grain is marked as a [StatelessWorker] (the same is true when using the attribute with a parameter, e.g. [StatelessWorker(1)]). As soon as I remove the attribute, method OnDeactivateAsync is called as expected.
This behavior is only observed on silo shutdown: when the grain deactivates during activation garbage collection, the method is called correctly.
The text was updated successfully, but these errors were encountered:
We are using Orleans version 7.2.6 and observe the following problem:
When the silo is shut down, grain method
OnDeactivateAsync
is not called, but only if the grain is marked as a[StatelessWorker]
(the same is true when using the attribute with a parameter, e.g.[StatelessWorker(1)]
). As soon as I remove the attribute, methodOnDeactivateAsync
is called as expected.This behavior is only observed on silo shutdown: when the grain deactivates during activation garbage collection, the method is called correctly.
The text was updated successfully, but these errors were encountered: