Commit 3bbd167a authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Removed usage of obsolete pModule->lpDosTask.

parent 58d5a0a7
......@@ -246,7 +246,7 @@ BOOL TASK_Create( NE_MODULE *pModule, UINT16 cmdShow, TEB *teb, LPCSTR cmdline,
/* NOTE: for 16-bit tasks, the instance handles are updated later on
in NE_InitProcess */
}
if (pModule->lpDosTask) pTask->flags |= TDBF_WINOLDAP;
if (MZ_Current() && MZ_Current()->load_seg) pTask->flags |= TDBF_WINOLDAP;
pTask->version = pModule->expected_version;
pTask->hModule = pModule->self;
......@@ -399,15 +399,6 @@ void TASK_KillTask( HTASK16 hTask )
TRACE("Killing task %04x\n", hTask );
#ifdef MZ_SUPPORTED
{
/* Kill DOS VM task */
NE_MODULE *pModule = NE_GetPtr( pTask->hModule );
if ( pModule->lpDosTask )
MZ_KillModule( pModule->lpDosTask );
}
#endif
/* Perform USER cleanup */
TASK_CallTaskSignalProc( USIG16_TERMINATION, hTask );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment