Closed gkjohnson closed 4 months ago
One issue is that we need to not assign the fields to the object at all if the request has been aborted else we risk the case where it might be downloaded twice, the second request finishes first and gets deleted by the abort callback for the first. Perhaps it's best to pass the "abort" object into the the parse function so it can react accordingly.
Tile contents are already disposed on abort:
When tile loads are aborted after they've downloaded but before they've finished parsing the image bitmap textures are not released.
See here
Texture custom plugin / texture disposal will need the same callback - should add an "aborted" callback / event for handling this.