[tuxdroid-svn] r5099 - software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadge
Status: Beta
Brought to you by:
ks156
|
From: remi <c2m...@c2...> - 2009-07-10 07:05:04
|
Author: remi
Date: 2009-07-10 09:04:51 +0200 (Fri, 10 Jul 2009)
New Revision: 5099
Modified:
software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadget/GadgetsContainer.py
Log:
* Unreferencing the removed gadget (In case of duplicated gadget)
Modified: software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadget/GadgetsContainer.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadget/GadgetsContainer.py 2009-07-10 06:30:37 UTC (rev 5098)
+++ software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadget/GadgetsContainer.py 2009-07-10 07:04:51 UTC (rev 5099)
@@ -441,6 +441,7 @@
try:
# Remove the old gadget
os.remove(sGadget.getScgFile())
+ self.__destroyGadget(sGadget)
except:
pass
# New gadget is older
|