mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 04:25:45 +00:00
service: hle: nvflinger: Fix potential shutdown crash when GPU is destroyed.
This commit is contained in:
parent
c112a94dfe
commit
d787a5bfde
1 changed files with 4 additions and 0 deletions
|
@ -242,6 +242,10 @@ void NVFlinger::Compose() {
|
|||
|
||||
const auto& igbp_buffer = buffer->get().igbp_buffer;
|
||||
|
||||
if (!system.IsPoweredOn()) {
|
||||
return; // We are likely shutting down
|
||||
}
|
||||
|
||||
auto& gpu = system.GPU();
|
||||
const auto& multi_fence = buffer->get().multi_fence;
|
||||
guard->unlock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue