Skip to content

Commit d5f8f6d

Browse files
authored
luascript record wasn't processing forward link
1 parent 0f1cc2e commit d5f8f6d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

luaApp/src/luascriptRecord.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,7 @@ static void processCallback(void* data)
691691
new_str += STRING_SIZE;
692692
}
693693

694+
recGblFwdLink(record);
694695
record->pact = FALSE;
695696
}
696697

@@ -747,7 +748,11 @@ static long process(luascriptRecord* record)
747748

748749
status = runCode(record);
749750

750-
if (status) { record->pact = FALSE; }
751+
if (status)
752+
{
753+
recGblFwdLink(record);
754+
record->pact = FALSE;
755+
}
751756

752757
return status;
753758
}

0 commit comments

Comments
 (0)