Skip to content

Commit 70a6810

Browse files
committed
mod remove dead code on qemu instance
1 parent 77405dc commit 70a6810

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/aleph/vm/controllers/qemu/instance.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import json
33
import logging
44
import shutil
5-
from asyncio import Task
65
from asyncio.subprocess import Process
76
from pathlib import Path
87
from typing import Generic, TypeVar
@@ -261,12 +260,8 @@ async def start_guest_api(self):
261260
async def stop_guest_api(self):
262261
pass
263262

264-
print_task: Task | None = None
265263

266264
async def teardown(self):
267-
if self.print_task:
268-
self.print_task.cancel()
269-
270265
if self.enable_networking:
271266
teardown_nftables_for_vm(self.vm_id)
272267
if self.tap_interface:

0 commit comments

Comments
 (0)