Commit 8934ea8b1b31166ea1f3f857e6f51f8dd6a999a2

Omar Polo 2022-02-14T13:14:36

factorize imsg_clear calls after imsg_flush failures imsg_clear frees and closes resources allocated as part of enqueueing imsgs so it's a no-op after reads. discussed with and ok stsp@