felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awojtun...@apache.org
Subject svn commit: r929629 - /felix/trunk/useradmin/src/main/java/org/apache/felix/useradmin/impl/UserAdminEventDispatcherImpl.java
Date Wed, 31 Mar 2010 17:36:25 GMT
Author: awojtuniak
Date: Wed Mar 31 17:36:25 2010
New Revision: 929629

URL: http://svn.apache.org/viewvc?rev=929629&view=rev
Log:
Fixed UserAdminEventDispatcher thread to exit when bundle is stopped

Modified:
    felix/trunk/useradmin/src/main/java/org/apache/felix/useradmin/impl/UserAdminEventDispatcherImpl.java

Modified: felix/trunk/useradmin/src/main/java/org/apache/felix/useradmin/impl/UserAdminEventDispatcherImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/useradmin/src/main/java/org/apache/felix/useradmin/impl/UserAdminEventDispatcherImpl.java?rev=929629&r1=929628&r2=929629&view=diff
==============================================================================
--- felix/trunk/useradmin/src/main/java/org/apache/felix/useradmin/impl/UserAdminEventDispatcherImpl.java
(original)
+++ felix/trunk/useradmin/src/main/java/org/apache/felix/useradmin/impl/UserAdminEventDispatcherImpl.java
Wed Mar 31 17:36:25 2010
@@ -158,10 +158,11 @@ public class UserAdminEventDispatcherImp
      * Closing UserAdminTrackers and putting running state to false.
      * @see org.apache.felix.useradmin.impl.UserAdminEventDispatcher#close()
      */
-    public void close()
+    public synchronized void close()
     {
         userAdminTrackerListener.close();
-        running = true;
+        running = false;
+        notifyAll();
     }
 
     /**



Mime
View raw message