InterestArea Dispose Order problem.

Options
KEMBL
edited October 2011 in Photon Server
Hello, Developers!

When InterestArea.Dispose(), it (from docs):
Disposes the fiber used to manage the subscriptions, detaches any attached item and resolves all existing channel subscriptions.

one problem with that order, is it possible to change dispose order like this?

1) resolves all existing channel subscriptions
2) detaches any attached item

In current time, when overrided OnItemUnsubscribed() triggered (after ClientInterestArea.Dispose()) I can't to understand which this.AttachedItem.Id (for remove it in several third logics vision lists) cause it already detached. So I have workarround in a face of temporary
string attachedId = AttachedItem.Id;

value, which I use if AttachedItem == null this ugly values duplication make my code looks bored, please make my code smile! :lol: