Fixed issue preventing the writeable SharedGroup from being closed and reopened.
Fixed issue preventing the writeable SharedGroup from being closed and reopened.

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core