realm / realm-browser-osx

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

Realm crash if deleteRealmIfMigrationNeeded = true and the Realm is open in the Browser #340

Open dmorrow opened 7 years ago

dmorrow commented 7 years ago

If I am using the Realm Browser and use the deleteRealmIfMigrationNeeded = true configuration with a migration, Realm will crash on the next build.

Perhaps there is a way to reopen the Browser window, or alert the user and disconnect the Realm session?

I reported the issue to the Realm Cocoa project (https://github.com/realm/realm-cocoa/issues/5118), but I think it belongs here

capture

stel commented 7 years ago

Thanks for reporting this issue @dmorrow! Will see what we can do here..