Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix imagery crash #4258

Merged
merged 1 commit into from
Aug 30, 2016
Merged

Fix imagery crash #4258

merged 1 commit into from
Aug 30, 2016

Conversation

mramato
Copy link
Contributor

@mramato mramato commented Aug 30, 2016

ImageryLayer._reprojectTexture was performing an asynchronous operation without callimg imagery.addReference or imagery.releaseReference which was causing the imagery and it's resources to be destroyed if culled before the reprojection was complete, leading to us trying to destroy an already destroyed texture.

`ImageryLayer._reprojectTexture` was performing an asynchronous operation
without callimg `imagery.addReference` or `imagery.releaseReference` which
was causing the imagery and it's resources to be destroyed if culled
before the reprojection was complete, leading to us trying to destroy
an already destroyed texture.
@mramato
Copy link
Contributor Author

mramato commented Aug 30, 2016

Fixes #4083

@pjcozzi
Copy link
Contributor

pjcozzi commented Aug 30, 2016

At quick glance, the fix looks good to me. @kring or @lilleyse can you please confirm when you have time?

@bagnell bagnell merged commit 0909d00 into master Aug 30, 2016
@bagnell bagnell deleted the fix-imagery-crash branch August 30, 2016 17:17
@bagnell
Copy link
Contributor

bagnell commented Aug 30, 2016

At quick glance, the fix looks good to me. @kring or @lilleyse can you please confirm when you have time?

I modified the code here for multiple viewports. The changes look good and I can confirm its fixed.

@mramato
Copy link
Contributor Author

mramato commented Aug 30, 2016

Thanks!

andrewkfiedler added a commit to codice/ddf-ui that referenced this pull request Oct 12, 2016
 - Removed apply and updated saving to be automatic.  As such, the map is no longer necessary (you can watch the main map update in real time).
 - Removed checkboxes in favor of clicking on the layer name.
 - Added opacity indication of whether or not a layer is shown.
 - Upgraded to latest cesium in order to pull in CesiumGS/cesium#4258, which had been causing issues with hiding and showing of layers too quickly (cesium would crash).
rzwiefel pushed a commit to codice/ddf-ui that referenced this pull request Oct 24, 2016
 - Removed apply and updated saving to be automatic.  As such, the map is no longer necessary (you can watch the main map update in real time).
 - Removed checkboxes in favor of clicking on the layer name.
 - Added opacity indication of whether or not a layer is shown.
 - Upgraded to latest cesium in order to pull in CesiumGS/cesium#4258, which had been causing issues with hiding and showing of layers too quickly (cesium would crash).
rzwiefel pushed a commit to codice/ddf-ui that referenced this pull request Dec 9, 2016
 - Removed apply and updated saving to be automatic.  As such, the map is no longer necessary (you can watch the main map update in real time).
 - Removed checkboxes in favor of clicking on the layer name.
 - Added opacity indication of whether or not a layer is shown.
 - Upgraded to latest cesium in order to pull in CesiumGS/cesium#4258, which had been causing issues with hiding and showing of layers too quickly (cesium would crash).
pklinef pushed a commit to codice/ddf-ui that referenced this pull request Dec 23, 2016
DDF-2644 
DDF-2644  - Removed apply and updated saving to be automatic.  As such, the map is no longer necessary (you can watch the main map update in real time).
DDF-2644  - Removed checkboxes in favor of clicking on the layer name.
DDF-2644  - Added opacity indication of whether or not a layer is shown.
DDF-2644  - Upgraded to latest cesium in order to pull in CesiumGS/cesium#4258, which had been causing issues with hiding and showing of layers too quickly (cesium would crash).
pklinef pushed a commit to codice/ddf-ui that referenced this pull request Dec 23, 2016
 - Removed apply and updated saving to be automatic.  As such, the map is no longer necessary (you can watch the main map update in real time).
 - Removed checkboxes in favor of clicking on the layer name.
 - Added opacity indication of whether or not a layer is shown.
 - Upgraded to latest cesium in order to pull in CesiumGS/cesium#4258, which had been causing issues with hiding and showing of layers too quickly (cesium would crash).
pklinef pushed a commit to codice/ddf-ui that referenced this pull request Dec 23, 2016
 - Removed apply and updated saving to be automatic.  As such, the map is no longer necessary (you can watch the main map update in real time).
 - Removed checkboxes in favor of clicking on the layer name.
 - Added opacity indication of whether or not a layer is shown.
 - Upgraded to latest cesium in order to pull in CesiumGS/cesium#4258, which had been causing issues with hiding and showing of layers too quickly (cesium would crash).
rzwiefel pushed a commit to rzwiefel/ddf that referenced this pull request Jan 5, 2017
 - Removed apply and updated saving to be automatic.  As such, the map is no longer necessary (you can watch the main map update in real time).
 - Removed checkboxes in favor of clicking on the layer name.
 - Added opacity indication of whether or not a layer is shown.
 - Upgraded to latest cesium in order to pull in CesiumGS/cesium#4258, which had been causing issues with hiding and showing of layers too quickly (cesium would crash).
shaundmorris pushed a commit to shaundmorris/ddf that referenced this pull request Mar 29, 2017
 - Removed apply and updated saving to be automatic.  As such, the map is no longer necessary (you can watch the main map update in real time).
 - Removed checkboxes in favor of clicking on the layer name.
 - Added opacity indication of whether or not a layer is shown.
 - Upgraded to latest cesium in order to pull in CesiumGS/cesium#4258, which had been causing issues with hiding and showing of layers too quickly (cesium would crash).
rzwiefel pushed a commit to codice/ddf-ui that referenced this pull request Nov 8, 2019
 - Removed apply and updated saving to be automatic.  As such, the map is no longer necessary (you can watch the main map update in real time).
 - Removed checkboxes in favor of clicking on the layer name.
 - Added opacity indication of whether or not a layer is shown.
 - Upgraded to latest cesium in order to pull in CesiumGS/cesium#4258, which had been causing issues with hiding and showing of layers too quickly (cesium would crash).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants