fixes #288: moving shinyCallingHandlers() to a lower-level so that the shiny.error handler can be applied to observe() and isolate() as well

This commit is contained in:
Yihui Xie
2013-10-28 23:17:02 -05:00
parent ef9b9bdd6d
commit 7483900db2

View File

@@ -101,7 +101,7 @@ ReactiveEnvironment <- setRefClass(
old.ctx <- .currentContext
.currentContext <<- ctx
on.exit(.currentContext <<- old.ctx)
func()
shinyCallingHandlers(func())
},
addPendingFlush = function(ctx, priority) {
.pendingFlush$enqueue(ctx, priority)