From ee73c419507ef74a78ddd6a3466b605cba140b68 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 1 Feb 2018 08:50:47 -0500 Subject: Delete callbacks when done --- ui/account.go | 1 + 1 file changed, 1 insertion(+) 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) } } -- cgit 1.4.1-2-gfad0