Clean up shared context in desktop

This commit is contained in:
Jonathan Kelley committed 2024-01-05 12:37:47 -08:00
1 parent 8e9984b4b5
commit cbed09b95c
6 files changed
+34 -33

No files matched your search

+2 -2
View File
@@ -54,7 +54,7 @@ pub struct DesktopService {
/// The tao window itself
pub window: Window,
pub(crate) shared: SharedContext,
pub(crate) shared: Rc<SharedContext>,
/// The receiver for queries about the current window
pub(super) query: QueryEngine,
@@ -81,7 +81,7 @@ impl DesktopService {
pub(crate) fn new(
window: Window,
webview: WebView,
shared: SharedContext,
shared: Rc<SharedContext>,
edit_queue: EditQueue,
asset_handlers: AssetHandlerRegistry,
) -> Self {