dabo Commit
Revision 6505
Date: 2011-03-20 09:05:06 -0700 (Sun, 20 Mar 2011)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6505
Changed:
U trunk/dabo/ui/uiwx/dEditor.py
Log:
Added handling of dead reference to the __del__ method.
Diff:
Modified: trunk/dabo/ui/uiwx/dEditor.py
===================================================================
--- trunk/dabo/ui/uiwx/dEditor.py 2011-03-19 18:17:19 UTC (rev 6504)
+++ trunk/dabo/ui/uiwx/dEditor.py 2011-03-20 16:05:06 UTC (rev 6505)
@@ -357,6 +357,7 @@
self._registerFunc, self._unRegisterFunc = funcTuple
+ @dabo.ui.deadCheck
def __del__(self):
self._unRegisterFunc(self)
super(dEditor, self).__del__()
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]