Skip to content

Commit

Permalink
Fixes #7548 - Interrupt flag is not always cleared in between requests.
Browse files Browse the repository at this point in the history
Now clearing the interrupt flag.

Signed-off-by: Simone Bordet <[email protected]>
  • Loading branch information
sbordet committed Feb 10, 2022
1 parent 9073fe2 commit 38c6917
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,11 @@ public void run()
{
LOG.warn("Unable to run task", e);
}
finally
{
// Clear any interrupted status.
Thread.interrupted();
}
}
}
finally
Expand All @@ -431,4 +436,4 @@ public String toString()
_thread);
}
}
}
}

0 comments on commit 38c6917

Please sign in to comment.