mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-23 00:42:33 +00:00
fix: clear webview document on stop
This commit is contained in:
@@ -71,6 +71,8 @@ void WebMediaController::Stop()
|
||||
if (m_webview) {
|
||||
m_webview->RunScript("if(typeof stopCameraRefresh==='function') stopCameraRefresh();");
|
||||
m_webview->Stop();
|
||||
m_webview->SetPage("", "about:blank");
|
||||
m_webview->ClearHistory();
|
||||
}
|
||||
m_url.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user