MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxAbort

Function fxAbort

xs/tools/xst.c:1047–1055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1045}
1046
1047void fxAbort(txMachine* the, int status)
1048{
1049 if (XS_DEBUGGER_EXIT == status)
1050 c_exit(1);
1051 if (the->exitStatus) // xsEndHost calls fxAbort!
1052 return;
1053 the->exitStatus = status;
1054 fxExitToHost(the);
1055}
1056
1057txID fxFindModule(txMachine* the, txSlot* realm, txID moduleID, txSlot* slot)
1058{

Callers 1

fx_setTimerFunction · 0.70

Calls 1

fxExitToHostFunction · 0.85

Tested by

no test coverage detected