This commit is contained in:
Daniil Gentili 2023-06-22 16:19:24 +02:00
parent ae2bd550e8
commit c517931726
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -86,7 +86,7 @@ impl EventLoop {
}
pub fn suspend() {
call_user_func!(Function::try_from_method("\\Revolt\\EventLoop", "getSuspension").unwrap()).unwrap().try_call_method("suspend", vec![]).unwrap();
call_user_func!(Function::from_method("\\Revolt\\EventLoop", "getSuspension")).unwrap().try_call_method("suspend", vec![]).unwrap();
}
pub fn get_sender(&self) -> Sender<u64> {