Пример #1
0
        public void Shutdown()
        {
            try {
                if (server != null)
                {
                    server.Shutdown();
                }
            } catch {
                ;
            } finally {
                server = null;
            }

            try {
                if (process != null)
                {
                    process.Kill();
                    process.WaitForExit();
                }
            } catch {
                ;
            } finally {
                process = null;
                RemotingServices.Disconnect(this);
            }
        }
Пример #2
0
        public void Shutdown()
        {
            try {
                if (server != null)
                    server.Shutdown ();
            } catch {
                ;
            } finally {
                server = null;
            }

            try {
                if (process != null) {
                    process.Kill ();
                    process.WaitForExit ();
                }
            } catch {
                ;
            } finally {
                process = null;
                RemotingServices.Disconnect (this);
            }
        }
Пример #3
0
 public void RegisterServer(IDebuggerTestServer server)
 {
     this.server = server;
     startup_event.Set ();
 }
Пример #4
0
 public void RegisterServer(IDebuggerTestServer server)
 {
     this.server = server;
     startup_event.Set();
 }