diff --git a/src/listener-rss.ts b/src/listener-rss.ts index 7e4ffbc..3dcddb4 100644 --- a/src/listener-rss.ts +++ b/src/listener-rss.ts @@ -71,6 +71,8 @@ class ListenerRss extends EventEmitter { * @brief call the callback function each looptime */ start(): void { + if (this.loopRunning) return; + this.loopRunning = true; const fun: () => void = async () => {