Skip to content

Commit

Permalink
cfml syntax issue on closure
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Nov 2, 2023
1 parent e9172e3 commit 445f727
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion system/logging/AbstractAppender.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,9 @@ component accessors="true" {

// Stop log listener only if not in force mode
if ( !arguments.force ) {
variables.lock( () => variables.logListener.active = false );
variables.lock( () => {
variables.logListener.active = false;
} );
}
}
}
Expand Down

0 comments on commit 445f727

Please sign in to comment.