mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-08 06:32:17 +03:00
001064b7bf
We need to use a shared_ptr to ensure that the present callback doesn't do any UAFs, also unlocks the GBP during presentation as if the queue is full a deadlock could a rise where the present callback wouldn't be able to run due to the (waiting) DequeueBuffer thread holding the lock.