Skip to content

Commit

Permalink
fix(IoT): Fixing an intermittent crash when deallocating AWSIoTStream…
Browse files Browse the repository at this point in the history
…Thread. (#5269)
  • Loading branch information
sebaland authored Mar 28, 2024
1 parent e1fffc8 commit 0f5d139
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 0 additions & 4 deletions AWSIoT/Internal/AWSIoTStreamThread.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ -(instancetype)initWithSession:(nonnull AWSMQTTSession *)session
return self;
}

-(void)dealloc {
[self cleanUp];
}

- (void)main {
AWSDDLogVerbose(@"Started execution of Thread: [%@]", self);
//This is invoked in a new thread by the webSocketDidOpen method or by the Connect method. Get the runLoop from the thread.
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

## Unreleased

-Features for next release
### Bug Fixes

- **AWSIoT**
- Fixing an intermittent crash when deallocating AWSIoTStreamThread (See [PR #5269](https://github.com/aws-amplify/aws-sdk-ios/issues/5269))

## 2.34.2

Expand Down

0 comments on commit 0f5d139

Please sign in to comment.