Skip to content

Commit

Permalink
Fix NPE in LogsCheckpoint class
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
  • Loading branch information
pditommaso committed May 9, 2024
1 parent 3c6e96d commit deb3076
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -67,7 +67,7 @@ class LogsCheckpoint implements TraceObserver {
protected void run() {
log.debug "Starting logs checkpoint thread - interval: ${interval}"
try {
while( !terminated && !thread.isInterrupted() ) {
while( !terminated && !Thread.currentThread().isInterrupted() ) {
// just wait the declared delay
await(interval)
// checkpoint the logs
Expand Down

0 comments on commit deb3076

Please sign in to comment.