Example #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);
            }
        }
Example #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);
            }
        }
Example #3
0
 public void RegisterServer(IDebuggerTestServer server)
 {
     this.server = server;
     startup_event.Set ();
 }
Example #4
0
 public void RegisterServer(IDebuggerTestServer server)
 {
     this.server = server;
     startup_event.Set();
 }