mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 12:46:46 +00:00
Other(refactor): Remove always-nil return value of (*Bridge).Close
This commit is contained in:
@ -261,9 +261,7 @@ func (t *testCtx) close(ctx context.Context) error {
|
||||
}
|
||||
|
||||
if t.bridge != nil {
|
||||
if err := t.bridge.Close(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
t.bridge.Close(ctx)
|
||||
}
|
||||
|
||||
t.api.Close()
|
||||
|
||||
Reference in New Issue
Block a user