mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
Fix stop error when using socks5 proxy
This commit is contained in:
@@ -115,8 +115,8 @@ namespace Netch.Controllers
|
||||
|
||||
var tasks = new[]
|
||||
{
|
||||
Task.Run(() => ServerController?.StopAsync()),
|
||||
Task.Run(() => ModeController?.StopAsync())
|
||||
ServerController?.StopAsync() ?? Task.CompletedTask,
|
||||
ModeController?.StopAsync() ?? Task.CompletedTask
|
||||
};
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user