Community
Participate
Working Groups
The processing thread created by a Batik JSVGCanvas must be stopped and the widget must be disposed. Batik BridgeContext objects should be disposed to help cleaning-up the heap.
Stop batik's processing thread and dispose any attached BridgeContext objects. The latter implements finalize() and is therefore subject to a Finalizer. Hence the BridgeContext objects are not garbage collected immediately.
Migration: Switch from org.eclipse.scout.svg.client.SVGUtility.readSVGDocument(InputStream, boolean) either to (if no CSS, text size and and bounding box operations are required) org.eclipse.scout.svg.client.SVGUtility.readSVGDocument(InputStream) or to (for performing CSS, text size and and bounding box operations) org.eclipse.scout.svg.client.SVGUtility.readSVGDocumentForGraphicalModification(InputStream) The latter method returns a BridgeContext that must be disposed (BridgeContext.dispose()) when it is not required anymore. The actual SVG document is referenced by the bridge context as well: (SVGDocument) bridgeContext.getDocument()
ticket closed. deliverd as part of eclipse scout 3.8.0 (juno release train)