CBattleFieldLayer::~CBattleFieldLayer() { removeAllListener(); delete COLLISION_MANAGER; delete BF_MANAGER; }
// realtime context (dataTask) void RackDataModule::moduleOff(void) { RackModule::moduleOff(); // has to be first command listenerMtx.lock(RACK_INFINITE); removeAllListener(); listenerMtx.unlock(); }
Configuration::~Configuration() { removeAllListener(); }