0
0
mirror of https://git.tardis.systems/mirrors/yuzu.git synced 2025-01-03 03:54:45 +00:00

Archive: Fixed close archive before freeing.

This commit is contained in:
bunnei 2014-11-14 23:47:32 -05:00
parent 3e09c07378
commit bcb0dbf7e1

View File

@ -99,8 +99,8 @@ public:
case FileCommand::Close: case FileCommand::Close:
{ {
DEBUG_LOG(KERNEL, "Close %s %s", GetTypeName().c_str(), GetName().c_str()); DEBUG_LOG(KERNEL, "Close %s %s", GetTypeName().c_str(), GetName().c_str());
Kernel::g_object_pool.Destroy<Archive>(GetHandle());
CloseArchive(backend->GetIdCode()); CloseArchive(backend->GetIdCode());
Kernel::g_object_pool.Destroy<Archive>(GetHandle());
break; break;
} }
// Unknown command... // Unknown command...