revert the promise resolve
This commit is contained in:
parent
d22f1cd1ed
commit
ba2309a540
|
@ -76,7 +76,7 @@ module.exports = function(realmConstructor) {
|
||||||
else {
|
else {
|
||||||
try {
|
try {
|
||||||
let syncedRealm = new realmConstructor(config);
|
let syncedRealm = new realmConstructor(config);
|
||||||
resolve(syncedRealm);
|
setTimeout(() => { resolve(syncedRealm); }, 1);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
reject(e);
|
reject(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue