sceHttp2DeleteRequest erased the request's completion queue, but sceHttp2DeleteTemplate and sceHttp2Term removed descendant request handles through ReleaseOwnedHandles without clearing their completion queues. A request that completed asynchronously before its template or context was deleted kept a stale completion that sceHttp2WaitAsync could still consume. ReleaseOwnedHandles now returns every transitively removed handle id, and DeleteTemplate and Term erase the completion queue of each removed request. CompleteAsync validates that the request is live while holding the handle lock and inserts the completion under it, so a send that races a deletion either returns the invalid-id error without queuing or is erased by the deletion; a completion is no longer re-created after a deletion returns. The only lock nesting stays handles before completions, and no mutex is held while the user event is triggered. GuestHttp2 covers a queued completion before sceHttp2DeleteTemplate and before sceHttp2Term: the completion is no longer consumable, a late send returns the invalid-id error without queuing, and the removed handles are rejected. |
||
|---|---|---|
| .. | ||
| nid | ||
| prx | ||
| tests | ||
| CMakeLists.txt | ||
| HitLog.hpp | ||
| SceShaders.hpp | ||
| SceTypes.hpp | ||