Protect update() from accesing deleted domains
This commit is contained in:
parent
06f7262140
commit
bd919e44c1
@ -139,15 +139,21 @@ class VmRowInTable(object):
|
||||
widget will extract the data from VM object
|
||||
:return: None
|
||||
"""
|
||||
self.info_widget.update_vm_state()
|
||||
self.template_widget.update()
|
||||
self.netvm_widget.update()
|
||||
self.internal_widget.update()
|
||||
self.ip_widget.update()
|
||||
self.include_in_backups_widget.update()
|
||||
self.last_backup_widget.update()
|
||||
if update_size_on_disk:
|
||||
self.size_widget.update()
|
||||
try:
|
||||
self.info_widget.update_vm_state()
|
||||
self.template_widget.update()
|
||||
self.netvm_widget.update()
|
||||
self.internal_widget.update()
|
||||
self.ip_widget.update()
|
||||
self.include_in_backups_widget.update()
|
||||
self.last_backup_widget.update()
|
||||
if update_size_on_disk:
|
||||
self.size_widget.update()
|
||||
except exc.QubesPropertyAccessError:
|
||||
pass
|
||||
|
||||
#force re-sorting
|
||||
self.table.setSortingEnabled(True)
|
||||
|
||||
|
||||
vm_shutdown_timeout = 20000 # in msec
|
||||
|
Loading…
Reference in New Issue
Block a user