mirror of
https://github.com/netchx/netch.git
synced 2026-05-11 23:45:06 +08:00
- Migrate to xjasonlyu/tun2socks
- Fix Starting Controller misc UI block - Fix didn't stop Controller when starting Controller
This commit is contained in:
@@ -102,7 +102,11 @@ namespace Netch.Controllers
|
||||
if (Lock.CurrentCount == 0)
|
||||
{
|
||||
(await Lock.EnterAsync()).Dispose();
|
||||
return;
|
||||
if (ServerController == null && ModeController == null)
|
||||
// stopped
|
||||
return;
|
||||
|
||||
// else begin stop
|
||||
}
|
||||
|
||||
using var _ = await Lock.EnterAsync();
|
||||
|
||||
Reference in New Issue
Block a user