public void Stop() { Logger.Info("Shutting down HtcSharp..."); PluginsManager.Call_OnDisable(); IsStopped = false; foreach (var engine in _engines) { try { Logger.Info($"Stopping Engine: '{engine.GetType().Name}'"); engine.Stop(); } catch (Exception ex) { Logger.Error($"Failed to stop Engine: '{engine.GetType().Name}'", ex); } } _engines.Clear(); _availableEngines.Clear(); }