Debugger: Disconnect on shutdown/disable.

Although, it could be made safe to keep them up when restarting with
debugging still enabled.
This commit is contained in:
Unknown W. Brackets
2018-06-08 06:59:16 -07:00
parent a2d82cb654
commit 6bec3db3fb
5 changed files with 37 additions and 1 deletions
+2
View File
@@ -216,6 +216,8 @@ static void ExecuteWebServer() {
}
http->Stop();
StopAllDebuggers();
delete http;
// Move to STARTING to lock flags/STOPPING.
if (UpdateStatus(ServerStatus::STARTING, ServerStatus::RESTARTING)) {