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:
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user