File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
src/aleph/vm/hypervisors/firecracker Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,6 @@ class MicroVM:
93
93
mounted_rootfs : Path | None = None
94
94
_unix_socket : Server | None = None
95
95
enable_log : bool
96
- journal_stdout : BinaryIO | int | None = None
97
- journal_stderr : BinaryIO | int | None = None
98
96
99
97
def __repr__ (self ):
100
98
return f"<MicroVM { self .vm_id } >"
@@ -482,19 +480,6 @@ async def teardown(self):
482
480
if self .stderr_task :
483
481
self .stderr_task .cancel ()
484
482
485
- if (
486
- self .journal_stdout
487
- and self .journal_stdout != asyncio .subprocess .DEVNULL
488
- and hasattr (self .journal_stdout , "close" )
489
- ):
490
- self .journal_stdout .close ()
491
- if (
492
- self .journal_stderr
493
- and self .journal_stderr != asyncio .subprocess .DEVNULL
494
- and hasattr (self .journal_stderr , "close" )
495
- ):
496
- self .journal_stderr .close ()
497
-
498
483
# Clean mounted block devices
499
484
if self .mounted_rootfs :
500
485
logger .debug ("Waiting for one second for the VM to shutdown" )
You can’t perform that action at this time.
0 commit comments