Delete callbacks when done
This commit is contained in:
parent
cfe82414c4
commit
ee73c41950
|
@ -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 New Issue