private void DisposePlayToManager() { lock (_syncLock) { if (_manager != null) { try { _manager.Dispose(); } catch (Exception ex) { _logger.ErrorException("Error disposing PlayTo manager", ex); } _manager = null; } } }
private void DisposePlayToManager() { lock (_syncLock) { if (_manager != null) { try { _logger.LogInformation("Disposing PlayToManager"); _manager.Dispose(); } catch (Exception ex) { _logger.LogError(ex, "Error disposing PlayTo manager"); } _manager = null; } } }