Skip to content

Commit 10d246b

Browse files
committed
Bugfix: stop multiple threads of execution
1 parent b97a728 commit 10d246b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/photo-slideshow.js

+1
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ class PhotoSlideshow {
295295
}
296296

297297
imageLoaded(image, index) {
298+
this.stopTimeout()
298299
this.logger.debug(`Loading complete for image ${index} '${image.url}'`)
299300
if (!this.previousShow) {
300301
this.showPreloaded()

0 commit comments

Comments
 (0)