diff --git a/R/live.R b/R/live.R index 91f4a1b..6f7828e 100644 --- a/R/live.R +++ b/R/live.R @@ -264,6 +264,10 @@ LiveHTML <- R6::R6Class( private = list( root_id = NULL, + finalize = function() { + self$session$close() + }, + check_active = function() { if (new_chromote && !self$session$is_active()) { suppressMessages({