Now clearing the interrupt flag.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
(cherry picked from commit 7b648f6d5c
)
This commit is contained in:
parent
df14e16162
commit
036cbe8dd4
|
@ -412,6 +412,11 @@ public class ReservedThreadExecutor extends AbstractLifeCycle implements TryExec
|
|||
{
|
||||
LOG.warn("Unable to run task", e);
|
||||
}
|
||||
finally
|
||||
{
|
||||
// Clear any interrupted status.
|
||||
Thread.interrupted();
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
|
|
Loading…
Reference in New Issue