浏览代码

Fix fullstack desktop launch (#2581)

luveti 11 月之前
父节点
当前提交
e1ea213d05
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/fullstack/src/launch.rs

+ 1 - 1
packages/fullstack/src/launch.rs

@@ -64,7 +64,7 @@ pub fn launch(
 #[allow(unused)]
 pub fn launch(
     root: fn() -> Element,
-    contexts: Vec<Box<dyn Fn() -> Box<dyn Any> + Send + Sync>>,
+    contexts: Vec<Box<dyn Fn() -> Box<dyn Any + Send + Sync> + Send + Sync>>,
     platform_config: Config,
 ) -> ! {
     let contexts = Arc::new(contexts);