summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/config.py
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2024-07-15 11:43:27 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2024-07-19 10:00:41 +0200
commit28a7a95531d0aa1d92698a4f3a1b34b70f2b047c (patch)
tree918dd266da73d6221554f68bf0a4a8dafef514eb /modules/gdscript/config.py
parent5b5cdf2414f4b9ac22eb6e4d01209c425ced4f81 (diff)
downloadredot-engine-28a7a95531d0aa1d92698a4f3a1b34b70f2b047c.tar.gz
ResourceLoader: Fix sync issues with error reporting
This is about not letting the resource format loader set the error code directly on the task anymore. Instead, it's stored locally and assigned only when it is right to do so. Otherwise, other tasks may see an error code in the current one before it's state having transitioned to errored. While this, besides the technically true data race, may not be a problem in practice, it causes surprising situations during debugging as it breaks assumptions.
Diffstat (limited to 'modules/gdscript/config.py')
0 files changed, 0 insertions, 0 deletions