Teemu Torma
2006-09-29 02:42:16 UTC
I converted some code using servant activator to use new simple classes
instead of activated servants.
However I don't see them being destroyed after releasing the caller's
copy. Trying to follow how this is supposed to happen, I ended into
dummy _add_ref/_remove_ref methods in servant manager.
By overriding them and doing the ref counting in my servant activator
everything worked just fine and it was destroyed at the end. However,
right now this is mandatory if you want them destroyed.
Is this just a bug or missing code, or am I missing something obvious?
Teemu
instead of activated servants.
However I don't see them being destroyed after releasing the caller's
copy. Trying to follow how this is supposed to happen, I ended into
dummy _add_ref/_remove_ref methods in servant manager.
By overriding them and doing the ref counting in my servant activator
everything worked just fine and it was destroyed at the end. However,
right now this is mandatory if you want them destroyed.
Is this just a bug or missing code, or am I missing something obvious?
Teemu