mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Automatic abortRequest for each API request
Defensive programming Contributes to: CURA-8587
This commit is contained in:
parent
453de95d12
commit
7be2da587b
3 changed files with 17 additions and 20 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue