lightningd: cleanup obsolete plugins->shutdown flag

After leaving the main event loop, the only path to destroy_plugin
goes via shutdown_plugins.
This commit is contained in:
Simon Vrouwe
2021-12-13 10:49:24 +02:00
committed by Rusty Russell
parent 28816c387c
commit 426ff0abff
3 changed files with 3 additions and 10 deletions

View File

@@ -113,9 +113,6 @@ struct plugins {
/* Blacklist of plugins from --disable-plugin */
const char **blacklist;
/* Whether we are shutting down, blocks db write's */
bool shutdown;
/* Index to show what order they were added in */
u64 plugin_idx;