KstPulse::~KstPulse() { delete _generator; KstGVectorList gvl = kstObjectSubList<KstVector, KstGVector>(KST::vectorList); for (KstGVectorList::Iterator i = gvl.begin(); i != gvl.end(); ++i) { (*i)->setFrequency(0); } KstApp *app = this->app(); if (app && app->guiFactory()) { app->guiFactory()->removeClient(this); } }
KstJS::~KstJS() { delete _konsolePart; _konsolePart = 0L; delete _iface; _iface = 0L; destroyRegistry(); KstApp *app = dynamic_cast<KstApp*>(this->app()); if (app && app->guiFactory()) { app->guiFactory()->removeClient(this); } }