public void Cleanup() { if (Interlocked.Exchange(ref _cleaned, 1) != 0) { return; } _origin.Cleanup(); }
public void Cleanup() { try { _origin.Cleanup(); } catch (AppUpdateException e) { _logger.Error(e.CombinedMessage()); } }
public void Cleanup() { Task.Run(() => _origin.Cleanup()); }