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
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn