Delete callbacks when done
This commit is contained in:
parent
cfe82414c4
commit
ee73c41950
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue