Make sure everything is closed on shutdown

This commit is contained in:
2018-11-18 18:00:16 -05:00
parent 61d74ff9db
commit b79863a38e

View File

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