public void OnStop() { if (_Desktop_Service != null) { _Desktop_Service.Dispose(); } if (_Server != null) { _Server.Dispose(); } }