Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Remove GlobalNotifier #938

Merged
merged 1 commit into from
Mar 4, 2020
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
7 changes: 0 additions & 7 deletions src/impl/realm_coordinator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,13 +295,6 @@ void RealmCoordinator::create_session(const Realm::Config& config)
create_sync_session(!exists);
}

void RealmCoordinator::open_with_config(Realm::Config config)
{
CheckedLockGuard lock(m_realm_mutex);
set_config(config);
open_db();
}

#endif

namespace realm {
Expand Down
2 changes: 0 additions & 2 deletions src/impl/realm_coordinator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ class RealmCoordinator : public std::enable_shared_from_this<RealmCoordinator> {
// Timeouts and interruptions are not handled by this method and must be handled by upper layers.
std::shared_ptr<AsyncOpenTask> get_synchronized_realm(Realm::Config config)
REQUIRES(!m_realm_mutex, !m_schema_cache_mutex);
// Used by GlobalNotifier to bypass the normal initialization path
void open_with_config(Realm::Config config) REQUIRES(!m_realm_mutex, !m_schema_cache_mutex);

// Creates the underlying sync session if it doesn't already exists.
// This is also created as part of opening a Realm, so only use this
Expand Down
Loading