Skip to content

Commit

Permalink
fix stop function
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed May 20, 2024
1 parent 4f5a76b commit c58d4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/AwsCommonRuntimeKit/mqtt/Mqtt5Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public class Mqtt5Client {
///
/// - Throws: CommonRuntimeError.crtError
public func stop(disconnectPacket: DisconnectPacket? = nil) throws {
try self.clientCore.stop()
try self.clientCore.stop(disconnectPacket: disconnectPacket)
}

/// Tells the client to attempt to subscribe to one or more topic filters.
Expand Down

0 comments on commit c58d4b5

Please sign in to comment.