Open GoogleCodeExporter opened 9 years ago
What bugs or improvements are present in the above ?
Original comment by miroslav...@gmail.com
on 13 Apr 2011 at 5:55
I came across atlassian link when i am looking for update and fixes for
flyingsaucer.
https://github.com/orbeon/flyingsaucer/commit/340e141ad3130d44ddf86c9865e1f5c626
389750
src/java/org/xhtmlrenderer/swing/ImageResourceLoader.java View file @ 340e141
... ...
@@ -35,7 +35,7 @@ public class ImageResourceLoader {
35 35
36 36
private final int _imageCacheCapacity;
37 37
38
- private RepaintListener _repaintListener = NO_OP_REPAINT_LISTENER;
38
+ private RepaintListener _repaintListener = NO_OP_REPAINT_LISTENER;
39 39
40 40
41 41
public ImageResourceLoader() {
... ...
@@ -98,6 +98,8 @@ public class ImageResourceLoader {
98 98
99 99
public synchronized void clear() {
100 100
_imageCache.clear();
101
+ // ORBEON
102
+ _loadQueue.kill();
101 103
}
102 104
103 105
public ImageResource get(final String uri) {
src/java/org/xhtmlrenderer/swing/SwingReplacedElementFactory.java View file @
340e141
... ...
@@ -278,6 +278,8 @@ public class SwingReplacedElementFactory implements
ReplacedElementFactory {
278 278
*/
279 279
public void reset() {
280 280
forms = null;
281
+ // ORBEON
282
+ imageResourceLoader.clear();
281 283
//imageComponents = null;
282 284
}
283 285
Original comment by srb...@gmail.com
on 21 Apr 2011 at 2:31
Original issue reported on code.google.com by
srb...@gmail.com
on 11 Feb 2011 at 12:46