mirror of
https://github.com/zeldaret/botw
synced 2026-05-23 06:54:18 -04:00
ksys/act: Fix ~ActorLinkConstDataAccess
This commit is contained in:
@@ -4,8 +4,11 @@
|
||||
namespace ksys::act {
|
||||
|
||||
ActorLinkConstDataAccess::~ActorLinkConstDataAccess() {
|
||||
if (mAcquired)
|
||||
acquire(nullptr);
|
||||
if (mAcquired && mProc)
|
||||
mProc->release();
|
||||
|
||||
mAcquired = false;
|
||||
mProc = nullptr;
|
||||
}
|
||||
|
||||
bool ActorLinkConstDataAccess::acquire(BaseProc* proc) {
|
||||
|
||||
Reference in New Issue
Block a user