Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
use set_logger instead of remove to delete logger
  • Loading branch information
HendrikSchultheis committed Aug 3, 2018
1 parent c0f78d2 commit bf29c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wilson-basic/app.R
Expand Up @@ -462,7 +462,7 @@ server <- function(session, input, output) {

# delete logger on session end
onSessionEnded(function() {
remove(list = paste0("logger", session$token), envir = wilson:::wilson.globals)
set_logger(NULL, token = session$token)
})

# read log
Expand Down

0 comments on commit bf29c2e

Please sign in to comment.