diff --git a/agb/src/interrupt.rs b/agb/src/interrupt.rs index 9aed669e..1489f081 100644 --- a/agb/src/interrupt.rs +++ b/agb/src/interrupt.rs @@ -241,7 +241,7 @@ fn interrupt_to_root(interrupt: Interrupt) -> &'static InterruptRoot { /// ``` pub fn add_interrupt_handler<'a>( interrupt: Interrupt, - handler: impl Fn(&CriticalSection) + 'a, + handler: impl Fn(&CriticalSection) + Send + Sync + 'a, ) -> InterruptHandler<'a> { fn do_with_inner<'a>( interrupt: Interrupt,