private void Window_Closing(object sender, CancelEventArgs e) { Temp.OnTempUpdated -= temp_OnTempUpdated; Temp?.Stop(); }
/// <summary> /// Stop the plugin. /// </summary> public void Stop() { _temp.Stop(); IsRunning = false; }
private void Window_Closing(object sender, CancelEventArgs e) { Temp.OnTempUpdated -= temp_OnTempUpdated; Temp?.Stop(); }
/// <summary> /// Stop the plugin. /// </summary> public void Stop() { _temp.Stop(); IsRunning = false; }