Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libplugin: forget pending requests if associated command freed.
This is usually fine, but without this, commando (another branch!) has a race: 1. A command has multiple parts. 2. We start sending them out. 3. We get a response, which completes the cmd. 4. We go to send the next one out, but it's been freed. Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information