mirror of
https://github.com/ckaczor/ProcessCpuUsageStatusWindow.git
synced 2026-01-13 17:23:02 -05:00
Fix up settings update and a few other things
This commit is contained in:
@@ -76,8 +76,11 @@ namespace ProcessCpuUsageStatusWindow
|
||||
public void Terminate()
|
||||
{
|
||||
// Get rid of the timer
|
||||
_processUpdateTimer.Stop();
|
||||
_processUpdateTimer.Dispose();
|
||||
if (_processUpdateTimer != null)
|
||||
{
|
||||
_processUpdateTimer.Stop();
|
||||
_processUpdateTimer.Dispose();
|
||||
}
|
||||
|
||||
// Clear the callback
|
||||
_processListUpdatedCallback = null;
|
||||
|
||||
Reference in New Issue
Block a user