Delete callbacks when done

This commit is contained in:
Drew DeVault 2018-02-01 08:50:47 -05:00
parent cfe82414c4
commit ee73c41950
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}
}