-
Notifications
You must be signed in to change notification settings - Fork 61
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
Guard notifying outdated scheduler #1559
Merged
Merged
Changes from 7 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
b5a126f
Fix crashes when posting to released scheduler
rorbech f3e4ce3
Rework scheduler life cycle
rorbech f44046a
Clean up
rorbech 6d55eb6
Naming
rorbech 93be8fb
Fix test build errors
rorbech fc7b91e
Bump to latest core
rorbech 91e2120
Merge branch 'cr/fix-scheduler-crash' into releases
rorbech 0245904
Bump to latest BAAS
rorbech 1363ca7
Proper locking around posting to freed scheduler
rorbech 2f470cd
Remove usage of runTest
rorbech 5c7b52b
Merge branch 'releases' into cr/fix-scheduler-crash
rorbech 92c25d0
Fix macos tests
rorbech 9a4fc03
Add FIXME for bumping local BaaS SHA
rorbech 8782f9e
Bump core and SHA1 for local BaaS builds
rorbech 8dbcf5d
Change http timeout for debugging
rorbech 867db65
Enable debugging info
rorbech e243e36
Another round for linting
rorbech bc2df5d
Additional debug statements
rorbech 43fae5d
Changed timeout.
rorbech be6842c
Another round for linting
rorbech 367bbea
More debug output
rorbech 5623989
Fix timeout exceptions for debugging
rorbech 6b6c8a8
Clean up
rorbech cff6470
Revert http timeout
rorbech 7746087
Reinsert download guard
rorbech 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
Submodule core
updated
49 files
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
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.
Doesn't core wait until the jobs have been executed to release the scheduler?Also, this guard does not cover 100% of the cases, the pointer might have been released just after accessingcancelled
.Because closing and job execution happens on the same thread there is no way that the Realm gets closed while executing the Job.