--- a/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/interfaces/AbstractPackageInstallerProvider.java Wed Aug 19 17:42:57 2009 -0500
+++ b/connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/interfaces/AbstractPackageInstallerProvider.java Thu Aug 20 08:00:04 2009 -0500
@@ -226,7 +226,7 @@
return installerList;
}
- protected Image getCachedImage(ImageDescriptor desc) {
+ protected synchronized Image getCachedImage(ImageDescriptor desc) {
if (imageCache == null)
imageCache = new HashMap<ImageDescriptor, Image>();
@@ -239,7 +239,7 @@
return image;
}
- public void dispose() {
+ public synchronized void dispose() {
if (imageCache != null) {
for (Image image : imageCache.values()) {
image.dispose();