Skip to content

Commit

Permalink
Revert "testing: with gc()"
Browse files Browse the repository at this point in the history
This reverts commit 598989f.
  • Loading branch information
averissimo committed Nov 7, 2024
1 parent 598989f commit c236b14
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions tests/testthat/helper-TealAppDriver.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,8 @@ ns_des_input <- function(id, dataname, type) {
sprintf("%s-dataset_%s_singleextract-%s", id, dataname, type)
}

app_driver_stop <- function(app_driver, envir = parent.frame()) {
withr::defer(
{
app_driver_stop(app_driver)
app_driver$get_chromote_session()$parent$close()
app_driver$get_chromote_session()$close()
gc()
},
envir = envir
)
app_driver_stop <- function(app_driver) {
app_driver_stop(app_driver)
app_driver$get_chromote_session()$parent$close()
app_driver$get_chromote_session()$close()
}

0 comments on commit c236b14

Please sign in to comment.