mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-22 10:06:44 +00:00
fix: clean up after setting result
This commit is contained in:
@ -63,5 +63,8 @@ func (c *Confirmer) SetResult(id string, value bool) error {
|
||||
|
||||
req.value <- value
|
||||
|
||||
close(req.value)
|
||||
delete(c.requests, id)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user