Skip to content

Commit 4b6e257

Browse files
committed
Don't add progressKeys more than once
Doesn't matter much but this is closer to the old behavior
1 parent 1f23f37 commit 4b6e257

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/shiny.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,9 @@ ShinySession <- R6Class(
13561356
if (self$closed)
13571357
return()
13581358

1359-
private$progressKeys <- c(private$progressKeys, id)
1359+
if (!id %in% private$progressKeys) {
1360+
private$progressKeys <- c(private$progressKeys, id)
1361+
}
13601362

13611363
self$sendProgress('binding', list(id = id, persistent = persistent))
13621364
},

0 commit comments

Comments
 (0)