mirror of
https://github.com/ckaczor/SystemTemperatureStatusWindow.git
synced 2026-01-13 17:23:03 -05: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