Skip to content

Commit

Permalink
Move log.trace out of try-with-resources block.
Browse files Browse the repository at this point in the history
  • Loading branch information
robsyme committed Jan 3, 2025
1 parent 7e0b896 commit 22bfb45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nextflow/src/main/groovy/nextflow/Session.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1209,8 +1209,8 @@ class Session implements ISession {
if( aborted || cancelled || error )
return

log.trace "Cleaning-up workdir"
try (CacheDB db = CacheFactory.create(uniqueId, runName).openForRead()) {
log.trace "Cleaning-up workdir"
db.eachRecord { HashCode hash, TraceRecord record ->
def deleted = db.removeTaskEntry(hash)
if( deleted ) {
Expand Down

0 comments on commit 22bfb45

Please sign in to comment.