Skip to content

Commit

Permalink
Update to latest core (#2679)
Browse files Browse the repository at this point in the history
Co-authored-by: Nikola Irinchev <[email protected]>
  • Loading branch information
LaPeste and nirinchev authored Oct 18, 2021
1 parent 3d55d69 commit 162c9d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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

0 comments on commit 162c9d5

Please sign in to comment.