mirror of
https://github.com/ckaczor/SystemTemperatureStatusWindow.git
synced 2026-03-10 03:51:42 -04:00
Make sure everything is closed on shutdown
This commit is contained in:
@@ -60,6 +60,8 @@ namespace SystemTemperatureService
|
||||
|
||||
public void Shutdown()
|
||||
{
|
||||
_computer.Close();
|
||||
|
||||
Program.MainDispatcher.Invoke(Application.Current.Shutdown);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user