mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 19:18:00 -05:00
CoreTiming: Unschedule the pending events when an Interface is destroyed.
This commit is contained in:
@ -45,6 +45,10 @@ public:
|
||||
CoreTiming::ScheduleEvent(pad_update_ticks, pad_update_event);
|
||||
}
|
||||
|
||||
~IAppletResource() {
|
||||
CoreTiming::UnscheduleEvent(pad_update_event, 0);
|
||||
}
|
||||
|
||||
private:
|
||||
void GetSharedMemoryHandle(Kernel::HLERequestContext& ctx) {
|
||||
IPC::ResponseBuilder rb{ctx, 2, 1};
|
||||
|
Reference in New Issue
Block a user