We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e4f7eb commit 84e3c90Copy full SHA for 84e3c90
1 file changed
LogFile.cs
@@ -202,20 +202,23 @@ private void ReportError(Exception e)
202
{
203
return;
204
}
205
-
+
206
// ReSharper disable once EmptyGeneralCatchClause
207
try
208
209
HostIOInterceptor.Instance.Paused = true;
210
this.ErrorCallback.Invoke(this, e);
211
- HostIOInterceptor.Instance.Paused = false;
212
213
catch { }
+ finally
214
+ {
215
+ HostIOInterceptor.Instance.Paused = false;
216
+ }
217
218
219
#endregion
220
221
222
223
// ReSharper restore MemberCanBePrivate.Global
-// ReSharper restore UnusedMember.Global
224
+// ReSharper restore UnusedMember.Global
0 commit comments