예제 #1
0
void IResource::unload()
{

	m_loadState=LoadState_Unloading;

	preUnloadInternal();
	unloadInternal();
	postUnloadInternal();


	m_loadState=LoadState_Unloaded;

	notifyResourceListners(false);

// 	if(m_manager)
// 		m_manager->resourceUnloaded(this);
}
예제 #2
0
void Module::unload()
{
	XMP_AutoLock lock (&mLoadingLock, kXMP_WriteLock);
	unloadInternal();
}