static private void OnRemoveObject_callback(IntPtr instance, IntPtr o, IntPtr session) { DistClient client = ReferenceDictionary <DistClient> .GetObject(instance); if (client != null) { try { client.OnRemoveObject?.Invoke(client, GetObject(o), GetSession(session)); } catch (Exception ex) { Message.SendException("DistClient", ex); } ReferenceDictionary <DistSession> .RemoveObject(o); } }
override public void Release() { ReferenceDictionary <DebugCommandStation> .RemoveObject(this); base.Release(); }
override public void Release() { ReferenceDictionary <DistObject> .RemoveObject(this); base.Release(); }
override public void ReleaseInRender() { ReferenceDictionary <NodeAction> .RemoveObject(this); base.ReleaseInRender(); }
override public void Release() { ReferenceDictionary <DynamicEventReceiver> .RemoveObject(this); base.Release(); }