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:
Dave Ward
2012-10-08 12:06:00 +00:00
parent f0d291ba91
commit adeb08d0c0

View File

@@ -66,7 +66,7 @@ public class JBPMScheduler extends AbstractLifecycleBean
@Override
protected void onShutdown(ApplicationEvent event)
{
if(JbpmEngineEnabled || executor.isStarted())
if(JbpmEngineEnabled && executor.isStarted())
{
executor.stop();
}