示例#1
0
 protected override void OnCrashDetected(CrashEventArgs e)
 {
     if (IsFromMonitoredPid(e.CrashLogPath))
     {
         base.OnCrashDetected(e);
     }
 }
示例#2
0
 protected virtual void OnCrashDetected(CrashEventArgs e)
 {
     if (CrashDetected != null)
     {
         CrashDetected(this, e);
     }
 }
示例#3
0
		void HandleMonitorCrashDetected (object sender, CrashEventArgs e)
		{
			InvokeOnMainThread (() => {
				try {
					ProcessingCrashLog = true;
					Reporter.UploadOrCache (e.CrashLogPath);
					
					if (ShouldExit)
						NSApplication.SharedApplication.Terminate (this);
				} finally {
					ProcessingCrashLog = false;
				}
			});
		}
示例#4
0
		protected virtual void OnCrashDetected (CrashEventArgs e)
		{
			if (CrashDetected != null)
				CrashDetected (this, e);
		}
示例#5
0
		protected override void OnCrashDetected (CrashEventArgs e)
		{
			if (IsFromMonitoredPid (e.CrashLogPath))
				base.OnCrashDetected (e);
		}