// Token: 0x0600115B RID: 4443 RVA: 0x00042A0C File Offset: 0x00040C0C
 protected override void InternalDispose()
 {
     InstantMessageProvider.DisposeProvider();
     BrokerGateway.Shutdown();
     ClientWatsonParametersFactory.Shutdown();
     SettingOverrideSync.Instance.Stop();
     Global.EwsClientMailboxSessionCloningHandler = null;
 }
Пример #2
0
        public static void Shutdown()
        {
            BrokerGateway comparand     = BrokerGateway.instance;
            BrokerGateway brokerGateway = Interlocked.CompareExchange <BrokerGateway>(ref BrokerGateway.instance, null, comparand);

            if (brokerGateway != null)
            {
                brokerGateway.Dispose();
            }
        }