Skip to content

Commit b74fc95

Browse files
committed
Rename on_domain_shutdown to avoid DispVM clobbering the function
DispVM.on_domain_shutdown clobbers NetVMMixin.on_domain_shutdown. Rename the latter to avoid that.
1 parent 37e49a1 commit b74fc95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qubes/vm/mix/net.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def on_domain_load_netvm_loop_check(self, event):
306306
self.netvm = None
307307

308308
@qubes.events.handler("domain-shutdown")
309-
def on_domain_shutdown(self, event, **kwargs):
309+
def on_domain_shutdown_net(self, event, **kwargs):
310310
"""Cleanup network interfaces of connected, running VMs.
311311
312312
This will allow re-reconnecting them cleanly later.

0 commit comments

Comments
 (0)