commit ee73c419507ef74a78ddd6a3466b605cba140b68 parent cfe82414c42ca56fb198b24a0ce2785d7e36512c Author: Drew DeVault <sir@cmpwn.com> Date: Thu, 1 Feb 2018 08:50:47 -0500 Delete callbacks when done Diffstat:
M | ui/account.go | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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) } }