1
0
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:
ricky 2020-03-16 19:33:43 -04:00 committed by GitHub
parent 7d374ab8d8
commit e3b68579ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,6 +226,7 @@ export default class MobileSyncPage extends Component {
componentWillUnmount () {
this.handle && clearTimeout(this.handle)
this.disconnectWebsockets()
}