mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-14 00:25:37 +00:00
Fix how _waitForDownload is treated by the RPC code.
This commit is contained in:
parent
0249722a02
commit
718ee3296c
@ -128,6 +128,7 @@ util.createMethods(Realm.prototype, objectTypes.REALM, [
|
||||
'removeListener',
|
||||
'removeAllListeners',
|
||||
'close',
|
||||
'_waitForDownload',
|
||||
]);
|
||||
|
||||
// Mutating methods:
|
||||
@ -189,12 +190,6 @@ Object.defineProperties(Realm, {
|
||||
rpc.clearTestState();
|
||||
},
|
||||
},
|
||||
_waitForDownload: {
|
||||
value: function(_config, sessionCallback, callback) {
|
||||
sessionCallback();
|
||||
callback();
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
for (let i = 0, len = debugHosts.length; i < len; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user