mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-04 03:22:20 -04:00
obs-scripting: Fix script state variable being reset by tick callback
When loading a new Python script, the GIL might be released while importing the module, allowing the tick to run and change and reset the cur_python_script state variable. Use the busy_script variable to save and restore the value if not null.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f