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

Function plugin_exit

plugins/libplugin.c:1978–1985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1976}
1977
1978void NORETURN plugin_exit(struct plugin *p, int exitcode)
1979{
1980 p->exiting = true;
1981 io_conn_out_exclusive(p->stdout_conn, true);
1982 io_wake(p);
1983 io_loop(NULL, NULL);
1984 exit(exitcode);
1985}
1986
1987void NORETURN plugin_errv(struct plugin *p, const char *fmt, va_list ap)
1988{

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