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

Function clear_plugins

lightningd/plugin.c:1934–1941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1932}
1933
1934void clear_plugins(struct plugins *plugins)
1935{
1936 struct plugin *p;
1937
1938 log_info(plugins->log, "clear-plugins removing all plugins");
1939 while ((p = list_pop(&plugins->plugins, struct plugin, list)) != NULL)
1940 tal_free(p);
1941}
1942
1943void plugins_add_default_dir(struct plugins *plugins)
1944{

Callers 1

opt_clear_pluginsFunction · 0.85

Calls 2

log_infoClass · 0.85
tal_freeFunction · 0.85

Tested by

no test coverage detected