149150151152153154155156157158159
return; } for(Lifecycle context: contexts.values()) { try { if (context.getLifecycleState() == RUNNING) { context.stop(); } } catch (CoreRuntimeException e){ // TODO send monitoring event } }
248249250251252253254255256257258
if (currentContexts == null) { return; } for (Lifecycle context : currentContexts.values()) { if (context.getLifecycleState() == RUNNING) { context.stop(); } } } }
217218219220221222223224225226227
if (currentContexts == null){ return; } for (Lifecycle context: currentContexts.values()){ if (context.getLifecycleState() == RUNNING) { context.stop(); } } }