Skip to content

Commit f88b51c

Browse files
committed
Suppress IE corrupt memory exception
1 parent 59ba14d commit f88b51c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

BHOUserScript/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,9 @@ private void SetupWindow(IHTMLWindow2 window)
466466
}
467467
catch (Exception ex)
468468
{
469+
if (ex is AccessViolationException)
470+
return;
471+
469472
if (ShouldThrowScriptException(ex, "NotificationWrapper", Resources.NotificationJS))
470473
throw;
471474
}

0 commit comments

Comments
 (0)