From bde4a45e9c67e3b69a3ea932f459d1ff6e72ab8a Mon Sep 17 00:00:00 2001 From: Tobias Taschner Date: Thu, 12 Nov 2020 11:58:32 +0100 Subject: [PATCH] Remove assert in webview sample Not all backends return IsBusy() during this callback --- samples/webview/webview.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/samples/webview/webview.cpp b/samples/webview/webview.cpp index 6e512cc757..872f78ccc0 100644 --- a/samples/webview/webview.cpp +++ b/samples/webview/webview.cpp @@ -819,8 +819,6 @@ void WebFrame::OnNavigationRequest(wxWebViewEvent& evt) wxLogMessage("%s", "Navigation request to '" + evt.GetURL() + "' (target='" + evt.GetTarget() + "')"); - wxASSERT(m_browser->IsBusy()); - //If we don't want to handle navigation then veto the event and navigation //will not take place, we also need to stop the loading animation if(!m_tools_handle_navigation->IsChecked())