mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-03 20:44:54 +01:00
a2c6ec6c9b
BackgroundL Each log has a log_book: many logs can share the same one, as each one can have a separate prefix. Testing tickled a bug at the end of this series, where subd was logging to the peer's log_book on shutdown, but the peer was already freed. We've already had issues with logging while lightningd is shutting down. There are times when reference counting really is the right answer, this seems to be one of them: the 'struct log' share the 'struct log_book' and the last 'struct log' cleans it up. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
Makefile | ||
run-commit_tx.c | ||
run-cryptomsg.c | ||
run-find_my_path.c | ||
run-funding_tx.c | ||
run-key_derive.c |