Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Errors in Mqtt Client #264

Closed
wants to merge 333 commits into from
Closed

Update Errors in Mqtt Client #264

wants to merge 333 commits into from

Conversation

xiazhvera
Copy link
Contributor

@xiazhvera xiazhvera commented May 15, 2024

Issue #, if available:

Description of changes:
Depends on: awslabs/aws-c-mqtt#369

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@xiazhvera xiazhvera changed the base branch from main to iot May 15, 2024 20:52
@xiazhvera xiazhvera changed the base branch from iot to mqtt5_deadlock May 15, 2024 20:53
@xiazhvera xiazhvera marked this pull request as ready for review May 15, 2024 20:55
@@ -202,11 +197,6 @@ public class Mqtt5Client {
/// - Throws: CommonRuntimeError.crtError
public func stop(disconnectPacket: DisconnectPacket? = nil) throws {
try self.rwlock.read {
// validate the client in case close() is called.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the null validation here. As we are going to handle null client in the aws-c-mqtt: awslabs/aws-c-mqtt#369

Base automatically changed from mqtt5_deadlock to iot June 11, 2024 18:06
@xiazhvera xiazhvera changed the base branch from iot to mqtt5_deadlock June 11, 2024 20:30
@xiazhvera xiazhvera changed the base branch from mqtt5_deadlock to iot June 11, 2024 20:31
@xiazhvera xiazhvera changed the base branch from iot to mqtt5_deadlock June 11, 2024 20:42
@xiazhvera xiazhvera closed this Jun 11, 2024
@xiazhvera xiazhvera reopened this Jun 11, 2024
@xiazhvera xiazhvera changed the base branch from mqtt5_deadlock to iot June 11, 2024 21:56
@xiazhvera
Copy link
Contributor Author

It seems that the Files Changed did not show the correct diff result, no idea why.
Create a new PR to clean up: #268

@xiazhvera xiazhvera closed this Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants