Project: Birt
Bug 230486 Engine.destroy does not close documents
Reported: 2008-05-06 17:26:17 | Status: verified fixed

Can we change the engine.destroy function to close open report docuemnts document = engine.openReportDocument("c:\\test\\customers.rptdocument"); I can call document.close(), but engine.destory() does not close the file.

Files changed in fix:
engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/api/ReportEngineTest.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/LinkedObjectManager.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ReportDocumentReader.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ReportEngine.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ReportEngineHelper.java