kohait00 Messages: 939 Registered: July 2009 Location: Germany
Experienced Contributor
finally i remembered Dispatcher..
sorry for the delay, hope you've been fine with your fix so far.
here comes the reason.
compiling with MSC i did not instantiate Clear method anywhere.
but you were right. to make sure the Dispatcher is empty, one either needs to Clear it manually, or to destroy the Dispatchables first (they will unlink themselves).
a Dispatchable can be destination to multiple sources, so doing an UnregisterAll in the Dispatcher would break that. one must unregister the current dispatcher only