refactor: NetTraffic record pid

fix: #399
This commit is contained in:
ChsBuffer
2020-10-11 00:51:41 +08:00
parent 45b6352553
commit a49e280e03
3 changed files with 27 additions and 14 deletions

View File

@@ -184,6 +184,8 @@ namespace Netch.Controllers
Task.Run(() => ModeController?.Stop()),
};
await Task.WhenAll(tasks);
ModeController = null;
ServerController = null;
}