mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
lightningd: disable topology timers on shutdown.
Not necessary yet, but it will be once shutdown starts waiting for plugins to respond: we don't want these to try to access the bcli plugin once it's freed. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
395bf96d15
commit
89c3541c83
@@ -32,6 +32,9 @@ struct bitcoind {
|
||||
/* Ignore results, we're shutting down. */
|
||||
bool shutdown;
|
||||
|
||||
/* Timer if we're waiting for it to warm up. */
|
||||
struct oneshot *checkchain_timer;
|
||||
|
||||
struct list_head pending_getfilteredblock;
|
||||
|
||||
/* Map each method to a plugin, so we can have multiple plugins
|
||||
|
||||
Reference in New Issue
Block a user