realm / realm-browser-osx

DEPRECATED - Realm Browser for Mac OS X has been replaced by realm-studio which is cross platform.
https://realm.io
501 stars 54 forks source link

Browser crashes if trying to open encrypted realm while app is running #187

Open jniemin opened 8 years ago

jniemin commented 8 years ago

I'm running react-native project and if I try to access encrypted Realm with browser, the browser just crash before asking encryption key. Realm without encryption opens correctly while running app. If I stop my app and then connect to encrypted Realm and start the app again it works correctly. So only breaks if trying to open the encrypted Realm while app is running

stel commented 8 years ago

Thanks for reporting this issue, @jniemin! I was also able to reproduce it. Encrypted realms can only be opened in one process at a time, so there is no way to open realm in Browser while your app is running (@tgoyne, am I right?).

But there should be an error message instead of a crash, so we will try to fix this.

vonox7 commented 8 years ago

Opening an encrypted realm in two processes would be a real improvement! I had to switch back to unencrypted realms because of this issue.