Exemplo n.º 1
0
        protected override void CleanUp()
        {
            base.CleanUp();

            if (CallManager != null)
            {
                CallManager.HangupAll();
            }
            if (AccountManager != null)
            {
                var mgr = AccountManager.As <IAccountManagerInternal>();
                if (mgr != null)
                {
                    mgr.UnRegisterAllAccounts();
                }
            }

            _localRegistry.SipTransport.InternalDispose();
            _localRegistry.RtpTransport.InternalDispose();

            ImManager      = null;
            CallManager    = null;
            AccountManager = null;
            MediaManager   = null;

            _basicApi.Destroy();
        }
Exemplo n.º 2
0
 protected override void CleanUp()
 {
     base.CleanUp();
     _basicApi.Destroy();
 }