diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-02-01 08:50:47 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-02-01 08:50:47 -0500 |
commit | ee73c419507ef74a78ddd6a3466b605cba140b68 (patch) | |
tree | f59cdc64d35a49ee2f6b09ba1d7cce55928ddcb6 | |
parent | cfe82414c42ca56fb198b24a0ce2785d7e36512c (diff) | |
download | aerc-ee73c419507ef74a78ddd6a3466b605cba140b68.tar.gz |
Delete callbacks when done
-rw-r--r-- | ui/account.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/account.go b/ui/account.go index f8dcce8..4b92e76 100644 --- a/ui/account.go +++ b/ui/account.go @@ -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) } } |