[ResourceManager] Removed resourcePool pointer.