GI-1021 Fix memory leaks, and always execute asyncCallback when loading textures, even if texture fails to load.
Merge commit '8838cb555bcc19c819c54e7dff088dcaab828f7d'
Merge remote-tracking branch 'origin/master' into GI-1022