mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-21 08:12:09 -05:00
Main's #7269 keeps the synchronous settle's buffer, memory and fence per device in ImportSettle, so clearing one device's imports releases only that device's objects. This branch's settle batches move there too: each device's ImportSettle holds its batch target, memory and batches with their fences, so switching devices no longer drops a device's batch handles, and clearing a device waits for and destroys only its own batches. The per-import settle state is renamed pendingSettles to stay clear of main's per-device map, and a submitted settle records the device whose batch it is in.