Merge pull request #58 from realm/nh/bug/fixes_coordinator_path

Passing the correct config.path to the RealmCoordinator
This commit is contained in:
Ari Lazier 2016-03-17 15:26:24 -07:00
commit d79a2e66aa
1 changed files with 2 additions and 1 deletions

View File

@ -184,7 +184,8 @@ Group *Realm::read_group()
SharedRealm Realm::get_shared_realm(Config config)
{
return RealmCoordinator::get_coordinator(config.path)->get_realm(std::move(config));
auto coordinator = RealmCoordinator::get_coordinator(config.path);
return coordinator->get_realm(std::move(config));
}
void Realm::update_schema(std::unique_ptr<Schema> schema, uint64_t version)