use of com.centurylink.mdw.plugin.launch.LogWatcher in project mdw-designer by CenturyLinkCloud.
the class MdwPlugin method stop.
/**
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext context) throws Exception {
try {
for (WorkflowProject project : WorkflowProjectManager.getInstance().getWorkflowProjects()) project.clear();
LogWatcher logWatcher = LogWatcher.instance;
if (logWatcher != null && logWatcher.isRunning())
logWatcher.shutdown();
plugin = null;
} finally {
super.stop(context);
}
}
Aggregations