We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7884853 commit 02a13ceCopy full SHA for 02a13ce
v2rayN/ServiceLib/Handler/CoreHandler.cs
@@ -327,9 +327,10 @@ private bool IsNeedSudo(ECoreType eCoreType)
327
{
328
return null;
329
}
330
- try { proc?.Kill(true); } catch { }
331
- try { proc?.Close(); } catch { }
332
- try { proc?.Dispose(); } catch { }
+ try { proc?.Kill(true); } catch (Exception ex) { Logging.SaveLog(ex.Message, ex); }
+ try { proc?.Kill(); } catch (Exception ex) { Logging.SaveLog(ex.Message, ex); }
+ try { proc?.Close(); } catch (Exception ex) { Logging.SaveLog(ex.Message, ex); }
333
+ try { proc?.Dispose(); } catch (Exception ex) { Logging.SaveLog(ex.Message, ex); }
334
335
await Task.Delay(100);
336
0 commit comments