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
If you comment out the resource.head() line, it works as expected but obviously you are now losing the head call. Basically, it looks like resources used to be re-usable, but since #8843, they can only ever be used once specifically this line in the PR here: https://github.com/CesiumGS/cesium/pull/8883/files#r470300910
Perhaps something is not being re-initialized on the second call? It can't be a race condition because we wait for the head call to finish before calling load. If I make two identical resources, it works.
Take the below code:
Same code in Sandcastle
If you comment out the
resource.head()
line, it works as expected but obviously you are now losing the head call. Basically, it looks like resources used to be re-usable, but since #8843, they can only ever be used once specifically this line in the PR here: https://github.com/CesiumGS/cesium/pull/8883/files#r470300910Perhaps something is not being re-initialized on the second call? It can't be a race condition because we wait for the head call to finish before calling load. If I make two identical resources, it works.
CC @lilleyse @OmarShehata
The text was updated successfully, but these errors were encountered: