Clear sync timeout on unmount (#8199)

feature/default_network_editable
ricky 5 years ago committed by GitHub
parent 7d374ab8d8
commit e3b68579ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      ui/app/pages/mobile-sync/mobile-sync.component.js

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

Loading…
Cancel
Save