fix clippy lint in desktop
This commit is contained in:
1 parent
4a9ebe78d7
commit
6653d48614
1 file changed
+2
@@ -307,6 +307,8 @@ struct WebviewHandler {
|
|||||||
dom: VirtualDom,
|
dom: VirtualDom,
|
||||||
webview: Rc<wry::webview::WebView>,
|
webview: Rc<wry::webview::WebView>,
|
||||||
waker: Waker,
|
waker: Waker,
|
||||||
|
// This is nessisary because of a bug in wry. Wry assumes the webcontext is alive for the lifetime of the webview. We need to keep the webcontext alive, otherwise the webview will crash
|
||||||
|
#[allow(dead_code)]
|
||||||
web_context: WebContext,
|
web_context: WebContext,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user