summaryrefslogtreecommitdiff
path: root/web/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app.js')
-rw-r--r--web/app.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/app.js b/web/app.js
index 85632c2..65f561b 100644
--- a/web/app.js
+++ b/web/app.js
@@ -782,6 +782,10 @@ function renderTasksIntoContainer(tasks, container, emptyMsg) {
// Remove cards for tasks no longer in this list
for (const [id, card] of existingCards.entries()) {
if (!taskIds.has(id)) {
+ if (taskLogStreams[id]) {
+ taskLogStreams[id].source.close();
+ delete taskLogStreams[id];
+ }
card.remove();
existingCards.delete(id);
}