close socket on disconnect
This commit is contained in:
parent
04080c6ac6
commit
4fff3a9d4d
2 changed files with 5 additions and 21 deletions
|
|
@ -1753,9 +1753,8 @@ Wallet.prototype.disconnect = function() {
|
|||
self.send(null, {
|
||||
type: 'disconnect',
|
||||
walletId: this.id,
|
||||
}, function() {
|
||||
self.network.cleanUp();
|
||||
});
|
||||
self.network.cleanUp();
|
||||
};
|
||||
|
||||
Wallet.prototype.getNetwork = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue