mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 17:19:25 -05:00
kernel: fix page leak on process termination
This commit is contained in:
@ -171,6 +171,12 @@ void KProcess::Finalize() {
|
||||
m_resource_limit->Close();
|
||||
}
|
||||
|
||||
// Clear expensive resources, as the destructor is not called for guest objects.
|
||||
for (auto& interface : m_arm_interfaces) {
|
||||
interface.reset();
|
||||
}
|
||||
m_exclusive_monitor.reset();
|
||||
|
||||
// Perform inherited finalization.
|
||||
KSynchronizationObject::Finalize();
|
||||
}
|
||||
|
Reference in New Issue
Block a user