MCPcopy Create free account
hub / github.com/ElementsProject/lightning / plugin_exit

Function plugin_exit

plugins/libplugin.c:1343–1350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1341}
1342
1343void NORETURN plugin_exit(struct plugin *p, int exitcode)
1344{
1345 p->exiting = true;
1346 io_conn_out_exclusive(p->stdout_conn, true);
1347 io_wake(p);
1348 io_loop(NULL, NULL);
1349 exit(exitcode);
1350}
1351
1352void NORETURN plugin_errv(struct plugin *p, const char *fmt, va_list ap)
1353{

Callers 3

json_shutdownFunction · 0.85
plugin_errvFunction · 0.85
ld_command_handleFunction · 0.85

Calls 3

io_conn_out_exclusiveFunction · 0.85
io_wakeFunction · 0.85
io_loopFunction · 0.85

Tested by 1

json_shutdownFunction · 0.68