Ver código fonte

Fix fullstack desktop launch (#2581)

luveti 1 ano atrás
pai
commit
e1ea213d05
1 arquivos alterados com 1 adições e 1 exclusões
  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);