Fix resetting the iosuhaxHandle in Mocha_DeInitLibrary

This commit is contained in:
Maschell 2023-11-27 11:45:15 +01:00
parent 049f322e55
commit 4d0585cdb4

View File

@ -88,6 +88,7 @@ MochaUtilsStatus Mocha_DeInitLibrary() {
if (iosuhaxHandle >= 0) {
IOS_Close(iosuhaxHandle);
iosuhaxHandle = -1;
}
return MOCHA_RESULT_SUCCESS;