fix for reload in example

This commit is contained in:
Ari Lazier 2015-11-23 19:00:31 -08:00
parent bcd667067c
commit 63ffaf7adb
2 changed files with 1 additions and 3 deletions

View File

@ -610,7 +610,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "rm -rf ./node_modules/realm\n[ -s \"${HOME}/.nvm/nvm.sh\" ] && . \"${HOME}/.nvm//nvm.sh\"\nnpm install realm";
shellScript = "rm -rf ./node_modules/realm\n[ -s \"${HOME}/.nvm/nvm.sh\" ] && . \"${HOME}/.nvm/nvm.sh\"\nnpm install realm";
};
/* End PBXShellScriptBuildPhase section */

View File

@ -376,8 +376,6 @@ uint64_t Realm::get_schema_version(const realm::Realm::Config &config)
void Realm::close()
{
invalidate();
if (m_notifier) {
m_notifier->remove_realm(this);
}