简化WEB库
This commit is contained in:
@@ -122,7 +122,10 @@ namespace 电子展板.ViewModels
|
||||
/// </summary>
|
||||
public void WindowClosing(CancelEventArgs args)
|
||||
{
|
||||
WebServer.Stop();
|
||||
|
||||
GlobalVariable.WebServer?.Stop();
|
||||
GlobalVariable.WebServer?.Dispose();
|
||||
GlobalVariable.WebServer = null;
|
||||
Screen[] screens = Screen.AllScreens;
|
||||
if (screens.Length > 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user