From 63db56fa68d1dcdc2042a74bd134cd465f73416e Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sat, 22 Oct 2022 15:10:34 +0200 Subject: [PATCH] Make AsyncExecutor Send+Sync Otherwise actually using this will be a bit difficult. --- src/context/gui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context/gui.rs b/src/context/gui.rs index 05ae347c..2b8f260c 100644 --- a/src/context/gui.rs +++ b/src/context/gui.rs @@ -84,7 +84,7 @@ pub trait GuiContext: Send + Sync + 'static { // lot of structs, and may even be incompatible with the way certain GUI libraries work. #[derive(Clone)] pub struct AsyncExecutor { - pub(crate) inner: Arc, + pub(crate) inner: Arc, } /// A convenience helper for setting parameter values. Any changes made here will be broadcasted to