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

Function plugin_exit

plugins/libplugin.c:1968–1975  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1966}
1967
1968void NORETURN plugin_exit(struct plugin *p, int exitcode)
1969{
1970 p->exiting = true;
1971 io_conn_out_exclusive(p->stdout_conn, true);
1972 io_wake(p);
1973 io_loop(NULL, NULL);
1974 exit(exitcode);
1975}
1976
1977void NORETURN plugin_errv(struct plugin *p, const char *fmt, va_list ap)
1978{

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