mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-02 10:25:51 -04:00
obs-nvenc: Fix resource destruction order
The NVENC session was destroyed before its child resources (textures, surfaces) were cleaned up, causing resource cleanup calls to operate on an invalid session handle. Reorder destruction to free all registered resources before destroying the encoder session.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f