diff --git a/kernel/inthndlr.c b/kernel/inthndlr.c index 56a202d..858c0a2 100644 --- a/kernel/inthndlr.c +++ b/kernel/inthndlr.c @@ -1035,8 +1035,6 @@ dispatch: /* End Program */ case 0x4c: - if (((psp FAR *)MK_FP(cu_psp, 0))->ps_parent == cu_psp) - break; tsr = FALSE; rc = 0; if (ErrorMode) diff --git a/kernel/task.c b/kernel/task.c index 3391679..900b50d 100644 --- a/kernel/task.c +++ b/kernel/task.c @@ -526,7 +526,7 @@ VOID return_user(void) /* might be a good idea to do that after closing but doesn't help NET either TE */ - if (!tsr) + if (!tsr && p->ps_parent != cu_psp) { network_redirector(REM_CLOSEALL); for (i = 0; i < p->ps_maxfiles; i++)