mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-25 22:14:37 +00:00
tasking: Do not free tty
It took only 2 months to figure it out that this was causing unexpected crashes... lol
This commit is contained in:
parent
4d192732cc
commit
7b054050c7
@ -270,8 +270,14 @@ namespace Tasking
|
|||||||
delete this->FileDescriptors;
|
delete this->FileDescriptors;
|
||||||
|
|
||||||
debug("Deleting tty");
|
debug("Deleting tty");
|
||||||
if (this->tty)
|
// if (this->tty)
|
||||||
delete ((TTY::TeletypeDriver *)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
|
/* If we own the pointer to the
|
||||||
PageTable, we need to free it */
|
PageTable, we need to free it */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user