mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:47:42 +00:00
Big fixes and big memory leak refactor (linux only for now)
This commit is contained in:
@@ -9,6 +9,11 @@ CSimplePool::CSimplePool(IFactory& factory)
|
||||
: x18_factory(factory), x1c_paramXfer(new TObjOwnerParam<IObjectStore*>(this))
|
||||
{}
|
||||
|
||||
CSimplePool::~CSimplePool()
|
||||
{
|
||||
assert(x8_resources.empty() && "Dangling CSimplePool resources detected");
|
||||
}
|
||||
|
||||
CToken CSimplePool::GetObj(const SObjectTag& tag, const CVParamTransfer& paramXfer)
|
||||
{
|
||||
if (!tag)
|
||||
|
||||
Reference in New Issue
Block a user