This commit is contained in:
Jaroslaw Konik 2025-05-23 19:12:27 +02:00
parent e8b95f6099
commit 9bcf3ee589

View file

@ -386,9 +386,7 @@ impl Runtime for RubyRuntime {
Vec<RubyValue>,
)
-> Result<crate::promise::Promise<(), RubyValue>, crate::ScriptingError>
+ Send
+ Sync
+ 'static,
+ Send,
>;
static RUBY_CALLBACKS: LazyLock<Mutex<HashMap<String, CallbackClosure>>> =
LazyLock::new(|| Mutex::new(HashMap::new()));