mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 07:37:59 -05:00
hle: kernel: hle_ipc: HasSessionRequestHandler: Check if domain handler is expired rather than locking.
This commit is contained in:
@ -51,7 +51,7 @@ bool SessionRequestManager::HasSessionRequestHandler(const HLERequestContext& co
|
||||
LOG_CRITICAL(IPC, "object_id {} is too big!", object_id);
|
||||
return false;
|
||||
}
|
||||
return DomainHandler(object_id - 1).lock() != nullptr;
|
||||
return !DomainHandler(object_id - 1).expired();
|
||||
} else {
|
||||
return session_handler != nullptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user