Fix up settings update and a few other things

This commit is contained in:
2018-02-22 12:55:35 -05:00
parent bc8cc4092d
commit 9b862f0db9
7 changed files with 36 additions and 9 deletions

View File

@@ -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;