From bf2149e815fc26a71ba9871065365d0612b9b6b7 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Mon, 19 Jul 2021 21:45:45 +0400 Subject: [PATCH] Return after throwing access denied error --- webview/platform/linux/webview_linux_webkit2gtk.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/webview/platform/linux/webview_linux_webkit2gtk.cpp b/webview/platform/linux/webview_linux_webkit2gtk.cpp index e64bea0..a95c494 100644 --- a/webview/platform/linux/webview_linux_webkit2gtk.cpp +++ b/webview/platform/linux/webview_linux_webkit2gtk.cpp @@ -809,6 +809,7 @@ void Instance::handleMethodCall( "Access denied."); invocation->return_error(error); + return; } try {