-
Notifications
You must be signed in to change notification settings - Fork 26
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
Thread safety #586
Merged
Merged
Thread safety #586
Changes from 13 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
04ba309
New EventEmitter (using NSNotificationCenter)
ricardopereira f344825
Events for the EventEmitter
ricardopereira 4260a4c
Fix: should cancel timers when connection times out
ricardopereira 6f4787a
Fix: new state change can occur before receiving publishing acknowled…
ricardopereira b38fa55
Test suite: async forced transitions
ricardopereira 2cfc1b1
Test suite: ack order
ricardopereira fa43d00
Test suite: stop when there's no internet
ricardopereira 1dc13f0
Fix: instance objects released to soon
ricardopereira 44bf0fe
Performed a static analysis from Xcode
ricardopereira 345f16d
fixup! Test suite: ack order
ricardopereira 676c26b
Memory leak: call session invalidate to dispose of its strong referen…
ricardopereira 8bdb646
fixup! Test suite: ack order
ricardopereira 39d8b20
Fix RTN19a: guarantee of a new transport (check transport reference)
ricardopereira 7fa81ec
Fix: ACK or NACK has not yet been received for a message, the client …
ricardopereira 98c9a2f
Enhance RTN14b: better timings
ricardopereira 388d6b2
Fix: REST and Realtime, wait for last operation to release the object
ricardopereira 5de21e9
fixup! Test suite: ack order
ricardopereira 17bca96
Fix: cancel timers when a connection gets closed
ricardopereira d533e20
fixup! Test suite: ack order
ricardopereira b68b806
Test suite: timings
ricardopereira e812cda
fixup! Enhance RTN14b: better timings
ricardopereira 3f9558e
Test suite: close connections
ricardopereira 8ad250f
Fix: turn off immediately reachability when close occurs
ricardopereira 49efb8a
Fix RTC1d: wait for host is not reachable error
ricardopereira 3501f43
fixup! Test suite: ack order
ricardopereira b0e5f94
Travis update
ricardopereira 257454a
Fix RTN19a
ricardopereira File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? We don't use the object outside. Is it because
attach
doesn't hold itself strong references to what it needs from its ARTRealtime? If so, why not? Maybe we should fix that instead, if possible.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take a look 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: 388d6b2