mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-16235: 4.2.a hanging on shutdown
- Logic error in JBPMScheduler causing NPE early on in shutdown and preventing completion of other shutdown tasks git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@42422 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -66,7 +66,7 @@ public class JBPMScheduler extends AbstractLifecycleBean
|
|||||||
@Override
|
@Override
|
||||||
protected void onShutdown(ApplicationEvent event)
|
protected void onShutdown(ApplicationEvent event)
|
||||||
{
|
{
|
||||||
if(JbpmEngineEnabled || executor.isStarted())
|
if(JbpmEngineEnabled && executor.isStarted())
|
||||||
{
|
{
|
||||||
executor.stop();
|
executor.stop();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user