mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-29 03:00:45 -04:00
Race condition where clientData$singletons can be NULL
Reproduced in Shiny Server load testing. Code reviewed by @trestletech
This commit is contained in:
@@ -75,7 +75,8 @@ ShinySession <- setRefClass(
|
||||
observe({
|
||||
# clientData$singletons tells us what singletons were part of the
|
||||
# initial page render
|
||||
singletons <<- strsplit(clientData$singletons, ',')[[1]]
|
||||
if (!is.null(clientData$singletons))
|
||||
singletons <<- strsplit(clientData$singletons, ',')[[1]]
|
||||
})
|
||||
|
||||
output <<- .createOutputWriter(.self)
|
||||
|
||||
Reference in New Issue
Block a user