mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-30 04:10:57 +01:00
Archive: Fixed close archive before freeing.
This commit is contained in:
parent
3e09c07378
commit
bcb0dbf7e1
1 changed files with 1 additions and 1 deletions
|
@ -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...
|
||||||
|
|
Loading…
Reference in a new issue