Esempio n. 1
0
 def destroy(self):
     # Break any connections involving this event channel.
     manager = ConnectionManager.instance()
     for identifier, (uses, provides) in manager.getConnections().items():
         if provides.hasComponent(self):
             manager.breakConnection(identifier)
             manager.unregisterConnection(identifier)
     self._sandbox._removeEventChannel(self._instanceName)
     EventChannel.destroy(self)
Esempio n. 2
0
 def destroy(self):
     # Break any connections involving this event channel.
     manager = ConnectionManager.instance()
     for identifier, (uses, provides) in manager.getConnections().items():
         if provides.hasComponent(self):
             manager.breakConnection(identifier)
             manager.unregisterConnection(identifier)
     self._sandbox._removeEventChannel(self._instanceName)
     EventChannel.destroy(self)
Esempio n. 3
0
 def destroy(self):
     # Break any connections involving this event channel.
     self._sandbox._breakConnections(self)
     self._sandbox._removeEventChannel(self._instanceName)
     EventChannel.destroy(self)