Community
Participate
Working Groups
Build Identifier: 4.0.0-R20110608-1407 Instances of some classes are leaking when using CDOQuery.getResult. Forumentry: http://www.eclipse.org/forums/index.php/t/245302/ Reproducible: Always Steps to Reproduce: 1. CDOQuery cdoq = cdoView.createQuery("sql", sql); 2. Iterator<T> it = cdoq.getResult(cl).iterator();
When using 'getResultAsync' there is no leak: CloseableIterator<T> it = cdoquery.getResultAsync(cl); try { .... } finally { it.close(); }
Created attachment 204935 [details] Patch v1
Committed revision 9475: - trunk/plugins/org.eclipse.emf.cdo
Fixed
Closing.