mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-21 22:46:04 +00:00
Now clearing the interrupt flag. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
parent
e0788ab056
commit
7b648f6d5c
@ -410,6 +410,11 @@ public class ReservedThreadExecutor extends AbstractLifeCycle implements TryExec
|
||||
{
|
||||
LOG.warn("Unable to run task", e);
|
||||
}
|
||||
finally
|
||||
{
|
||||
// Clear any interrupted status.
|
||||
Thread.interrupted();
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
@ -431,4 +436,4 @@ public class ReservedThreadExecutor extends AbstractLifeCycle implements TryExec
|
||||
_thread);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user