소스 검색

Bug Fix: Need to cancel the interval.

Naotoshi Fujita 2 년 전
부모
커밋
7e09183b87
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/js/components/Live/Live.ts

+ 1 - 0
src/js/components/Live/Live.ts

@@ -83,6 +83,7 @@ export function Live( Splide: Splide, Components: Components, options: Options )
       interval.start();
     } else {
       remove( sr );
+      interval.cancel();
     }
   }