Author: remi
Date: 2009-03-23 16:31:22 +0100 (Mon, 23 Mar 2009)
New Revision: 4184

Modified:
   
software_suite_v2/tuxware/tuxdroidserver/trunk/util/filesystem/AutoDeployer.py
Log:
* only notifying the directory undeployment if the auto-deployer is deployed ...

Modified: 
software_suite_v2/tuxware/tuxdroidserver/trunk/util/filesystem/AutoDeployer.py
===================================================================
--- 
software_suite_v2/tuxware/tuxdroidserver/trunk/util/filesystem/AutoDeployer.py  
    2009-03-23 15:20:32 UTC (rev 4183)
+++ 
software_suite_v2/tuxware/tuxdroidserver/trunk/util/filesystem/AutoDeployer.py  
    2009-03-23 15:31:22 UTC (rev 4184)
@@ -140,8 +140,9 @@
             if directoryObserver[0].getDirectory() == directory:
                 directoryObserver[0].stop()
                 self.__directoryObservers.remove(directoryObserver)
-                if self.__onDirectoryUndeployedCallback != None:
-                    self.__onDirectoryUndeployedCallback(directoryObserver[1])
+                if self.__isDeployed:
+                    if self.__onDirectoryUndeployedCallback != None:
+                        
self.__onDirectoryUndeployedCallback(directoryObserver[1])
                 break
         self.__dirMutex.release()
 


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to