public static void Dispose(FrmMain uiform)
        {
            if (ms_IsClientRunning)
            {
                Stop();
            }

            Thread.Sleep(500);

            ConnectionManagerClient.UnregisterChannel();

            StoreManagerIntoFile(uiform);

            ms_tmc.Dispose();

            //Static Manager Disposing...
            VBAStaticEngine.DisposeAll();
            CWBPool.Dispose();
            PerformanceBalancer.Dispose();
        }
Beispiel #2
0
        public static void Dispose(FrmMain uiform)
        {
            if (ms_IsServerRunning)
            {
                Stop();
            }

            Thread.Sleep(500);

            //Stop Tcp Service
            ConnectionManagerServer.StopServer();

            ConnectionManagerServer.UnregisterChannel();

            StoreManagerIntoFile(uiform);

            m_tms.Dispose();
            m_ttm.Dispose();

            //Static Manager Disposing...
            VBAStaticEngine.DisposeAll();
            CWBPool.Dispose();
            PerformanceBalancer.Dispose();
        }