Allow to access variables from active frames after exception is thrown.
All checks were successful
The build was successful.
All checks were successful
The build was successful.
This commit is contained in:
parent
d57d6caf2d
commit
b5cdbf4721
|
@ -1400,7 +1400,7 @@ static ph7_value *VmExtractMemObj(
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(pFrame->iFlags & VM_FRAME_LOOP && pFrame->pParent) {
|
if(pFrame->pParent && pFrame->iFlags & (VM_FRAME_LOOP | VM_FRAME_EXCEPTION | VM_FRAME_CATCH | VM_FRAME_FINALLY)) {
|
||||||
pFrame = pFrame->pParent;
|
pFrame = pFrame->pParent;
|
||||||
} else {
|
} else {
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user