CoreTiming: Unschedule the pending events when an Interface is destroyed.
This commit is contained in:
parent
7e7110b3b9
commit
248881fa7f
3 changed files with 10 additions and 2 deletions
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue