protected override void OnStop() { ServiceLogger.LogInfo("SmartWatcher service stopping."); if (_smartTimer != null) { _smartTimer.StopTimer(); _smartTimer = null; } }