|
@@ -204,7 +204,9 @@ DRACOLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
|
|
.then( ( message ) => this._createGeometry( message.geometry ) );
|
|
.then( ( message ) => this._createGeometry( message.geometry ) );
|
|
|
|
|
|
// Remove task from the task list.
|
|
// Remove task from the task list.
|
|
|
|
+ // Note: replaced 'finally()' with .catch().then() block - iOS 11 support (#19416)
|
|
geometryPending
|
|
geometryPending
|
|
|
|
+ .catch( () => true )
|
|
.then( () => {
|
|
.then( () => {
|
|
|
|
|
|
if ( worker && taskID ) {
|
|
if ( worker && taskID ) {
|
|
@@ -215,17 +217,6 @@ DRACOLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- } )
|
|
|
|
- .catch( () => {
|
|
|
|
-
|
|
|
|
- if ( worker && taskID ) {
|
|
|
|
-
|
|
|
|
- this._releaseTask( worker, taskID );
|
|
|
|
-
|
|
|
|
- // this.debug();
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
} );
|
|
} );
|
|
|
|
|
|
// Cache the task result.
|
|
// Cache the task result.
|