protected override void OnStop() { StateTimer.Dispose(); th = null; }
/// <summary> /// Dispose fitness tracker. /// </summary> public void Dispose() { StateTimer.Dispose(); Sensors = null; }
protected override void OnStop() { Library.WriteErrorLog("test stop \n"); StateTimer.Dispose(); }
protected override void OnStop() { WriteEventLogEntry("WindowsService2 Stop"); Library.WriteErrorLog("Service Stop !!! \n"); StateTimer.Dispose(); }