| Summary: | CDOQuery memory leak with getResult | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Per Sterner <Per.Sterner> | ||||
| Component: | cdo.core | Assignee: | Eike Stepper <stepper> | ||||
| Status: | CLOSED FIXED | QA Contact: | Eike Stepper <stepper> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 4.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Per Sterner
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. |