|
@@ -205,7 +205,18 @@ DRACOLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
|
|
|
|
|
|
// Remove task from the task list.
|
|
// Remove task from the task list.
|
|
geometryPending
|
|
geometryPending
|
|
- .finally( () => {
|
|
|
|
|
|
+ .then( () => {
|
|
|
|
+
|
|
|
|
+ if ( worker && taskID ) {
|
|
|
|
+
|
|
|
|
+ this._releaseTask( worker, taskID );
|
|
|
|
+
|
|
|
|
+ // this.debug();
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ } )
|
|
|
|
+ .catch( () => {
|
|
|
|
|
|
if ( worker && taskID ) {
|
|
if ( worker && taskID ) {
|
|
|
|
|