From 6ddf15bed62e6cde3b9d4efb96bd1611bccb619b Mon Sep 17 00:00:00 2001 From: Andrey Kornich Date: Mon, 14 Mar 2022 13:28:39 -0700 Subject: [PATCH] fix: resolve #623 code cleanup --- Rollbar/RollbarInfrastructure.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Rollbar/RollbarInfrastructure.cs b/Rollbar/RollbarInfrastructure.cs index 873ed352..917c6fd7 100644 --- a/Rollbar/RollbarInfrastructure.cs +++ b/Rollbar/RollbarInfrastructure.cs @@ -32,8 +32,6 @@ public sealed class RollbarInfrastructure private readonly object _syncLock = new object(); - //private bool _initializedOnce = false; - private IRollbarInfrastructureConfig? _config; private readonly Lazy _lazyQueueController = @@ -192,8 +190,6 @@ public void Init(IRollbarInfrastructureConfig config) } catch(Exception ex) { - //this._initializedOnce = false; - throw new RollbarException( InternalRollbarError.InfrastructureError, "Exception while initializing the internal services!",