cwvreg.py
branchtls-sprint
changeset 1176 0ff3d29e91c9
parent 1146 547681592765
child 1263 01152fffd593
--- a/cwvreg.py	Fri Mar 27 12:23:00 2009 +0100
+++ b/cwvreg.py	Fri Mar 27 12:23:34 2009 +0100
@@ -137,7 +137,9 @@
                     self.debug('kicking vobject %s (no implemented interface '
                                'among %s)', obj, ifaces)
                     self.unregister(obj)
-            
+            # clear needs_iface so we don't try to remove some not-anymore-in
+            # objects on automatic reloading
+            self._needs_iface.clear()
     
     @cached
     def etype_class(self, etype):