mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-04 10:43:29 +00:00
Merge pull request #60 from realm/al-latest-fixes
Latest fixes for react-native/android
This commit is contained in:
commit
f41d137f71
@ -21,7 +21,7 @@
|
||||
#include <future>
|
||||
|
||||
namespace realm {
|
||||
class ClientHistory;
|
||||
class Replication;
|
||||
|
||||
namespace _impl {
|
||||
class RealmCoordinator;
|
||||
@ -38,7 +38,7 @@ private:
|
||||
RealmCoordinator& m_parent;
|
||||
|
||||
// A shared group used to listen for changes
|
||||
std::unique_ptr<ClientHistory> m_history;
|
||||
std::unique_ptr<Replication> m_history;
|
||||
SharedGroup m_sg;
|
||||
|
||||
// The listener thread
|
||||
|
@ -447,8 +447,6 @@ uint64_t Realm::get_schema_version(const realm::Realm::Config &config)
|
||||
|
||||
void Realm::close()
|
||||
{
|
||||
invalidate();
|
||||
|
||||
if (m_coordinator) {
|
||||
m_coordinator->unregister_realm(this);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user