javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/midp2/uninstall/steps/StartProgressNotifications.java
changeset 35 85266cc22c7f
parent 23 98ccebc37403
child 83 26b2b12093af
child 87 1627c337e51e
--- a/javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/midp2/uninstall/steps/StartProgressNotifications.java	Thu May 27 12:49:31 2010 +0300
+++ b/javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/midp2/uninstall/steps/StartProgressNotifications.java	Fri Jun 11 13:33:44 2010 +0300
@@ -91,8 +91,16 @@
         catch (Throwable t)
         {
             Log.logError("StartProgressNotifications: SifNotifier.notifyStart failed", t);
+            try
+            {
+                ball.iSifNotifier.destroy();
+            }
+            catch (Throwable t2)
+            {
+                Log.logError("StartProgressNotifications: SifNotifier.destroy failed", t2);
+            }
+            ball.iSifNotifier = null;
         }
-
         // Set SifNotifier for the listeners that should use it.
         ball.iInstallationNotifier.setSifNotifier(ball.iSifNotifier);
     }