1
0
mirror of https://git.sr.ht/~sircmpwn/aerc synced 2024-11-23 08:32:12 +01:00

Delete callbacks when done

This commit is contained in:
Drew DeVault 2018-02-01 08:50:47 -05:00
parent cfe82414c4
commit ee73c41950

@ -78,6 +78,7 @@ func (acc *AccountTab) postAction(msg types.WorkerMessage,
acc.Worker.PostAction(msg)
if cb != nil {
acc.callbacks[msg] = cb
delete(acc.callbacks, msg)
}
}