You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Resources don't know whether they are cached, so using `set_path()` after `set_path_cache()` does not add the resource to the cache if the path is the same.
345
-
// We reset the cached path from `get_shallow_script()` so that the subsequent call to `set_path()` caches everything correctly.
// Add the script to the resource cache. Usually ResourceLoader would take care of it, but cyclic references can break that sometimes so we do it ourselves.
396
+
// Resources don't know whether they are cached, so using `set_path()` after `set_path_cache()` does not add the resource to the cache if the path is the same.
397
+
// We reset the cached path from `get_shallow_script()` so that the subsequent call to `set_path()` caches everything correctly.
0 commit comments