Allows changing remote port without full restart

This commit is contained in:
Cyberboss
2017-11-23 15:12:28 -05:00
parent a14987a6dc
commit 045aa56d98
4 changed files with 30 additions and 39 deletions
+3
View File
@@ -388,6 +388,9 @@ namespace TGS.CommandLine
OutputProc(res);
return ExitCode.ServerError;
}
Interface.Dispose(); //close the channels to prevent holding the service open
OutputProc("Change will be applied after service restart");
return ExitCode.Normal;
}