예제 #1
0
	//-----------------------------------------------------------------------
	MatrixForceFieldCalculationFactory::~MatrixForceFieldCalculationFactory(void)
	{
		Ogre::WorkQueue* wq = Ogre::Root::getSingleton().getWorkQueue();
		wq->removeRequestHandler(mWorkQueueChannel, this);
		wq->removeResponseHandler(mWorkQueueChannel, this);
		deleteMatrix();
	}
예제 #2
0
파일: world.cpp 프로젝트: 0xmono/openmw
    World::~World()
    {
        Ogre::WorkQueue* wq = Ogre::Root::getSingleton().getWorkQueue();
        wq->removeRequestHandler(mWorkQueueChannel, this);
        wq->removeResponseHandler(mWorkQueueChannel, this);

        delete mRootNode;
        delete mStorage;
    }