Release the bytecode container and make sure the 'finally' block will not be executed anymore.
All checks were successful
The build was successful.
All checks were successful
The build was successful.
This commit is contained in:
父節點
101453950e
當前提交
384b057c93
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user