MxLoopingFlcPresenter::Destroy (#382)

* MxLoopingFlcPresenter::Destroy

* Use parent class call

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Joshua Peisach 2023-12-28 13:55:03 -05:00 committed by GitHub
parent a06a360dc6
commit ff4845a6ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,10 +24,15 @@ void MxLoopingFlcPresenter::Init()
this->m_flags &= ~Flag_Bit3;
}
// STUB: LEGO1 0x100b4432
// FUNCTION: LEGO1 0x100b4430
void MxLoopingFlcPresenter::Destroy(MxBool p_fromDestructor)
{
// TODO
m_criticalSection.Enter();
Init();
m_criticalSection.Leave();
if (!p_fromDestructor)
MxFlcPresenter::Destroy(FALSE);
}
// FUNCTION: LEGO1 0x100b4470