Automatic abortRequest for each API request

Defensive programming

Contributes to: CURA-8587
This commit is contained in:
Jelle Spijker 2021-12-08 10:18:08 +01:00
parent 453de95d12
commit 7be2da587b
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A
3 changed files with 17 additions and 20 deletions

View file

@ -24,7 +24,7 @@ ListView
clip: true
Component.onCompleted: model.updatePackages()
Component.onDestruction: model.abortUpdating()
Component.onDestruction: model.cleanUpAPIRequest()
spacing: UM.Theme.getSize("default_margin").height