mirror of
https://github.com/danog/ext-php-rs.git
synced 2024-11-30 04:39:04 +01:00
Cleanup
This commit is contained in:
parent
ae2bd550e8
commit
c517931726
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user