Skip to content

Commit

Permalink
Use #quit and #disconnect in SASLClientAdapter
Browse files Browse the repository at this point in the history
  • Loading branch information
nevans committed May 5, 2024
1 parent 050104a commit a198893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/net/smtp/auth_sasl_client_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def authenticate(...)
def host; client.address end
def response_errors; RESPONSE_ERRORS end
def sasl_ir_capable?; true end
def drop_connection; client.finish end
def drop_connection!; client.finish end
def drop_connection; client.quit!(exception: :warn) end
def drop_connection!; client.disconnect end
end
end
end

0 comments on commit a198893

Please sign in to comment.