use rLog$noReactId constant

This commit is contained in:
Barret Schloerke
2018-12-13 14:32:40 -05:00
parent 929f7ec235
commit 1b45e70cbb

View File

@@ -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())