gemercheung преди 3 години
родител
ревизия
be94c997d1
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      src/scene/scene.service.ts

+ 4 - 4
src/scene/scene.service.ts

@@ -431,10 +431,10 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
               request.trace_id + ',' + this.latestWalkingRequest.trace_id,
             );
             // 中断清除上一次最后小段队列
-            if (this.moveSliceLastFrameSub) {
-              this.moveSliceLastFrameSub.unsubscribe();
-              this.moveSliceLastFrameSub = null;
-            }
+            // if (this.moveSliceLastFrameSub) {
+            //   this.moveSliceLastFrameSub.unsubscribe();
+            //   this.moveSliceLastFrameSub = null;
+            // }
 
             this.logger.debug('重新行走---handleReWalking');
             console.log('重新行走---handleReWalking');