mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-03 12:29:31 +00:00
Fix NPE in HouseKeeper.stopScavenging (#4604)
* Fix NPE in HouseKeeper.stopScavenging Signed-off-by: Hirotaka Ikoma <hikoma@gmail.com>
This commit is contained in:
parent
18f8752ad0
commit
65a22e5e80
@ -158,8 +158,9 @@ public class HouseKeeper extends AbstractLifeCycle
|
||||
LOG.info("{} Stopped scavenging", _sessionIdManager.getWorkerName());
|
||||
}
|
||||
_task = null;
|
||||
if (_ownScheduler)
|
||||
if (_ownScheduler && _scheduler != null)
|
||||
{
|
||||
_ownScheduler = false;
|
||||
_scheduler.stop();
|
||||
_scheduler = null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user