Skip to content

Commit 3a704fa

Browse files
committed
fix closeWorkflow #295
1 parent 459438f commit 3a704fa

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

R/closeWorkflow.R

+5-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#' @export
1212
#'
1313
closeWorkflow <- function(config){
14-
#unload env environment
15-
unload_workflow_environment(config)
1614
#close DBs
1715
if(!is.null(config$software$input$dbi)){
1816
config$logger.info("Closing input database connection")
@@ -51,6 +49,10 @@ closeWorkflow <- function(config){
5149
config$software$output$csw_config <- NULL
5250
}
5351
setwd(config$wd)
54-
set_line_separator() #default line separator
5552

53+
#set default line separator
54+
set_line_separator()
55+
56+
#unload env environment
57+
unload_workflow_environment(config)
5658
}

0 commit comments

Comments
 (0)