-
Notifications
You must be signed in to change notification settings - Fork 582
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
Fixing chrome debugging on v10 #3411
Merged
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
50f531c
wip
kneth d510aed
Readd rpc.createSession()
kneth 873ee20
RN debugger can establish session. Initial attempt to get Realm.App t…
kneth 3439be1
wip
kneth cdc8e01
WIP
kraenhansen f63f58e
Reorganized the RPCNetworkTransport to be T independent
kraenhansen cda2deb
Adding jsc_rpc_network_transport.hpp to the XCode project
kraenhansen 45c57eb
Minor cleanup
kraenhansen 1685130
Adding an entry to the changelog
kraenhansen 68f3cd3
Adding docs for the `payload` property `Credentials`
kraenhansen c2f0457
Incorporating feedback
kraenhansen c028109
Incorporating feedback
kraenhansen 1ea5409
Exposing App._setVersions and "set_versions" RPC route
kraenhansen 226d3bc
Using validated_to_function
kraenhansen 0f85f67
Clearing the OS app cache on destruction
kraenhansen 9d2e701
Add "emailPasswordAuth" property on App instances
kraenhansen 91ba7a7
Update lib/browser/fetch.js
kraenhansen 20e5737
Update CHANGELOG.md
kraenhansen 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
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.
I am a bit unsure if this is the right place to call it.
I'm unaware of another place in our code that gets called when we're "unloading" our library, but we could clear the object store app cache when we initialize instead? https://github.com/realm/realm-js/blob/master/src/jsc/jsc_init.cpp#L42
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.
@blagoev @kneth ☝️ what do you think about that?
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 imagine the issue is when you reload the app, right? If so, I think it make sense to clear the cache as you shut down the RPC server.
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.
Correct. If it's not cleared before / after a reload object store might be reusing app instances that reference a context which has been garbage collected.
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.
👍