cleanup
This commit is contained in:
parent
e8b95f6099
commit
9bcf3ee589
1 changed files with 1 additions and 3 deletions
|
|
@ -386,9 +386,7 @@ impl Runtime for RubyRuntime {
|
||||||
Vec<RubyValue>,
|
Vec<RubyValue>,
|
||||||
)
|
)
|
||||||
-> Result<crate::promise::Promise<(), RubyValue>, crate::ScriptingError>
|
-> Result<crate::promise::Promise<(), RubyValue>, crate::ScriptingError>
|
||||||
+ Send
|
+ Send,
|
||||||
+ Sync
|
|
||||||
+ 'static,
|
|
||||||
>;
|
>;
|
||||||
static RUBY_CALLBACKS: LazyLock<Mutex<HashMap<String, CallbackClosure>>> =
|
static RUBY_CALLBACKS: LazyLock<Mutex<HashMap<String, CallbackClosure>>> =
|
||||||
LazyLock::new(|| Mutex::new(HashMap::new()));
|
LazyLock::new(|| Mutex::new(HashMap::new()));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue