Release the bytecode container and make sure the 'finally' block will not be executed anymore.
The build was successful.
The build was successful.
This commit is contained in:
@@ -8236,6 +8236,8 @@ static sxi32 VmThrowException(
|
|||||||
/* Execute the 'finally' block if available */
|
/* Execute the 'finally' block if available */
|
||||||
if(pException && SySetUsed(&pException->sFinally)) {
|
if(pException && SySetUsed(&pException->sFinally)) {
|
||||||
rc = VmExecFinallyBlock(&(*pVm), pException);
|
rc = VmExecFinallyBlock(&(*pVm), pException);
|
||||||
|
/* Release the bytecode container */
|
||||||
|
SySetRelease(&pException->sFinally);
|
||||||
}
|
}
|
||||||
/* No matching 'catch' block found */
|
/* No matching 'catch' block found */
|
||||||
if(pCatch == 0) {
|
if(pCatch == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user