Skip to content

Commit c76001e

Browse files
authored
Merge pull request #6577 from AnalyticalGraphicsInc/fix-3061
Fix intermittent geometry entity crash
2 parents 1ea5c56 + fae032a commit c76001e

5 files changed

+5
-0
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Change Log
2020

2121
##### Fixes :wrench:
2222
* Fixed a bug causing custom TilingScheme classes to not be able to use a GeographicProjection. [#6524](https://github.com/AnalyticalGraphicsInc/cesium/pull/6524)
23+
* Fixed race condition causing intermittent crash when changing geometry show value [#3061](https://github.com/AnalyticalGraphicsInc/cesium/issues/3061)
2324
* `ProviderViewModel`s with no category are displayed in an untitled group in `BaseLayerPicker` instead of being labeled as `'Other'` [#6574](https://github.com/AnalyticalGraphicsInc/cesium/pull/6574)
2425

2526
### 1.45 - 2018-05-01

Source/DataSources/StaticGeometryColorBatch.js

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ define([
101101
if (defined(unsubscribe)) {
102102
unsubscribe();
103103
this.subscriptions.remove(id);
104+
this.showsUpdated.remove(id);
104105
}
105106
}
106107
};

Source/DataSources/StaticGeometryPerMaterialBatch.js

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ define([
9696
if (defined(unsubscribe)) {
9797
unsubscribe();
9898
this.subscriptions.remove(id);
99+
this.showsUpdated.remove(id);
99100
}
100101
}
101102
return this.createPrimitive;

Source/DataSources/StaticGroundGeometryColorBatch.js

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ define([
6969
if (defined(unsubscribe)) {
7070
unsubscribe();
7171
this.subscriptions.remove(id);
72+
this.showsUpdated.remove(id);
7273
}
7374
}
7475
};

Source/DataSources/StaticOutlineGeometryBatch.js

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ define([
7171
if (defined(unsubscribe)) {
7272
unsubscribe();
7373
this.subscriptions.remove(id);
74+
this.showsUpdated.remove(id);
7475
}
7576
}
7677
};

0 commit comments

Comments
 (0)