Browse Source

Bug Fix: Need to cancel the interval.

Naotoshi Fujita 2 years ago
parent
commit
7e09183b87
1 changed files with 1 additions and 0 deletions
  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();
     }
   }