mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-29 03:00:45 -04:00
use rLog$noReactId constant
This commit is contained in:
@@ -1883,7 +1883,7 @@ isolate <- function(expr) {
|
||||
if (hasCurrentContext()) {
|
||||
reactId <- getCurrentContext()$.reactId
|
||||
} else {
|
||||
reactId <- "rNoCtx"
|
||||
reactId <- rLog$noReactId
|
||||
}
|
||||
ctx <- Context$new(getDefaultReactiveDomain(), '[isolate]', type='isolate', reactId = reactId)
|
||||
on.exit(ctx$invalidate())
|
||||
|
||||
Reference in New Issue
Block a user