mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-16 17:45:49 +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',
|
'removeListener',
|
||||||
'removeAllListeners',
|
'removeAllListeners',
|
||||||
'close',
|
'close',
|
||||||
|
'_waitForDownload',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Mutating methods:
|
// Mutating methods:
|
||||||
@ -189,12 +190,6 @@ Object.defineProperties(Realm, {
|
|||||||
rpc.clearTestState();
|
rpc.clearTestState();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
_waitForDownload: {
|
|
||||||
value: function(_config, sessionCallback, callback) {
|
|
||||||
sessionCallback();
|
|
||||||
callback();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
for (let i = 0, len = debugHosts.length; i < len; i++) {
|
for (let i = 0, len = debugHosts.length; i < len; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user