diff --git a/tasking/process.cpp b/tasking/process.cpp index 55ceb1a..976d94e 100644 --- a/tasking/process.cpp +++ b/tasking/process.cpp @@ -270,8 +270,14 @@ namespace Tasking delete this->FileDescriptors; debug("Deleting tty"); - if (this->tty) - delete ((TTY::TeletypeDriver *)this->tty); + // if (this->tty) + // delete ((TTY::TeletypeDriver *)this->tty); + fixme("remove workarounds for stdio and tty"); + + /* FIXME: DON'T DELETE THE TTY + spawn.cpp is using this as workaround + tty == KernelConsole::CurrentTerminal.load(); + */ /* If we own the pointer to the PageTable, we need to free it */