Shutdown library properly on error.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
1daf17bcd4
commit
03e452ea7b
|
@ -5633,6 +5633,8 @@ PH7_PRIVATE sxi32 PH7_GenCompileError(ph7_gen_state *pGen, sxi32 nErrType, sxu32
|
|||
pGen->xErr(SyBlobData(pWorker), SyBlobLength(pWorker), pGen->pErrData);
|
||||
}
|
||||
if(nErrType == E_ERROR) {
|
||||
/* Shutdown library and abort script execution */
|
||||
ph7_lib_shutdown();
|
||||
exit(255);
|
||||
}
|
||||
return rc;
|
||||
|
|
Loading…
Reference in New Issue