I tracked down the problem to be in not using hard references for closure parameters, which means async callbacks and signal handlers are sometimes called with a finalized manager.
Created attachment 57838 [details] [review]
ActUserManager: ensure the manager is alive across async calls
Under current design and usage patterns, the library user is not
expected to keep the manager around, if only interested in signals
from ActUsers. Therefore additional references must be taken to
ensure that the object is still valid at the end of an async call,
and signals must be prevented from firing on finalized objects.
hey, this patch doesn't seem to apply against master. Do you know why?
Sorry, it is on top of bug 46794.