mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Clear sync timeout on unmount (#8199)
This commit is contained in:
parent
7d374ab8d8
commit
e3b68579ca
@ -226,6 +226,7 @@ export default class MobileSyncPage extends Component {
|
||||
|
||||
|
||||
componentWillUnmount () {
|
||||
this.handle && clearTimeout(this.handle)
|
||||
this.disconnectWebsockets()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user