فهرست منبع

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);