mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
parent
f7edc83a4e
commit
658e478f29
@ -1722,7 +1722,7 @@ export default class MetamaskController extends EventEmitter {
|
||||
|
||||
delete connections[id]
|
||||
|
||||
if (Object.keys(connections.length === 0)) {
|
||||
if (Object.keys(connections).length === 0) {
|
||||
delete this.connections[origin]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user