Skip to content

Commit 0478657

Browse files
committed
Notify clients only in case Downloader was started
In case nothing was done there is nothing to notify about
1 parent 496837b commit 0478657

File tree

1 file changed

+1
-2
lines changed
  • server/src/main/kotlin/suwayomi/tachidesk/manga/impl/download

1 file changed

+1
-2
lines changed

server/src/main/kotlin/suwayomi/tachidesk/manga/impl/download/Downloader.kt

+1-2
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ class Downloader(
7373
}
7474
}
7575
logger.debug { "started" }
76+
notifier(false)
7677
}
77-
78-
notifier(false)
7978
}
8079

8180
suspend fun stop() {

0 commit comments

Comments
 (0)