1 Commits

Author SHA1 Message Date
b79863a38e Make sure everything is closed on shutdown 2018-11-18 18:00:16 -05:00

View File

@@ -60,6 +60,8 @@ namespace SystemTemperatureService
public void Shutdown() public void Shutdown()
{ {
_computer.Close();
Program.MainDispatcher.Invoke(Application.Current.Shutdown); Program.MainDispatcher.Invoke(Application.Current.Shutdown);
} }
} }