Add BATCHEND callback

This commit is contained in:
Douglas Clowes
2012-11-29 09:57:22 +11:00
parent ae746c9947
commit 4df2bea05f

View File

@ -296,6 +296,7 @@ int exeBufProcess(pExeBuf self, SicsInterp * pSics,
DeleteDynString(command);
if (SCGetInterrupt(pCon) >= eAbortBatch) {
SCWrite(pCon, "ERROR: batch processing interrupted", eError);
InvokeCallBack(pCall, BATCHEND, self->name);
SetStatus(eEager);
if (pCall != NULL) {
InvokeCallBack(pCall, BATCHEND, self->name);