mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-23 01:01:15 +01: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.