mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
Join() deliberately leaks the naett objects of a request still running at shutdown and parks its sink, so a late chunk lands somewhere valid. But HTTPSShutdown, which runs right after CancelAll, deleted those sinks, and the POST body naett reads in place was owned by the request being destroyed. On Android, where NativeShutdown isn't process exit, a late WinHTTP/JNI callback could then write to or read from freed memory. Only free the list when it's empty (that still fixes the leak the delete was added for), and keep the POST body in the sink. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>