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 to latest core #2679

Merged
merged 4 commits into from
Oct 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wrappers/realm-core
Submodule realm-core updated 250 files
4 changes: 3 additions & 1 deletion wrappers/src/sync_user_cs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include <realm/object-store/sync/app.hpp>
#include "app_cs.hpp"

#include <external/json/json.hpp>

using namespace realm;
using namespace realm::binding;
using namespace app;
Expand Down Expand Up @@ -228,7 +230,7 @@ extern "C" {
REALM_EXPORT SharedApp* realm_syncuser_get_app(SharedSyncUser& user, NativeException::Marshallable& ex)
{
return handle_errors(ex, [&] {
// If the user is detached from the sync manager, we'll hit an assert, so this early check avoids that.
// If the user is detached from the sync manager, we'll hit an assert, so this early check avoids that.
if (user->state() != SyncUser::State::Removed)
{
if (auto shared_app = user->sync_manager()->app().lock()) {
Expand Down