1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-19 00:17:56 +02:00

fix android build

This commit is contained in:
Andrii Danylchenko
2018-05-25 22:08:14 +03:00
parent 20161a2449
commit ee033e9c9c
6 changed files with 27 additions and 7 deletions

@ -42,8 +42,12 @@ CAndroidVMHelper::CAndroidVMHelper()
detachInDestructor = false;
}
}
CAndroidVMHelper::~CAndroidVMHelper()
{
Detach();
}
void CAndroidVMHelper::Detach()
{
if(envPtr && detachInDestructor)
{