private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { YoutubeInterceptEngine.Instance.StopIntercepting(); SystemProxyManager.StopSystemProxy(); }
private void _handleUnhandledExceptions(Exception e) { SystemProxyManager.StopSystemProxy(); Helpers.YTrackLogger.Log("Unhandled Exception Occured : " + e.Message + "\n\n" + e.StackTrace); }