Skip to content

Commit cd8d66c

Browse files
committed
Conflicts: LogFile.cs
2 parents ed53f92 + 84e3c90 commit cd8d66c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

LogFile.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,20 +202,23 @@ private void ReportError(Exception e)
202202
{
203203
return;
204204
}
205-
205+
206206
// ReSharper disable once EmptyGeneralCatchClause
207207
try
208208
{
209209
HostIOInterceptor.Instance.Paused = true;
210210
ErrorCallback.Invoke(this, e);
211-
HostIOInterceptor.Instance.Paused = false;
212211
}
213212
catch { }
213+
finally
214+
{
215+
HostIOInterceptor.Instance.Paused = false;
216+
}
214217
}
215218

216219
#endregion
217220
}
218221
}
219222

220223
// ReSharper restore MemberCanBePrivate.Global
221-
// ReSharper restore UnusedMember.Global
224+
// ReSharper restore UnusedMember.Global

0 commit comments

Comments
 (0)