Clear owner of system message queue to avoid freeing it when the first
task exits.
This commit is contained in:
parent
3f1ca48166
commit
5920737f80
|
@ -598,7 +598,7 @@ BOOL QUEUE_CreateSysMsgQueue( int size )
|
|||
/* Note: We dont need perQ data for the system message queue */
|
||||
if (!(hmemSysMsgQueue = QUEUE_CreateMsgQueue( FALSE )))
|
||||
return FALSE;
|
||||
|
||||
FarSetOwner16( hmemSysMsgQueue, 0 );
|
||||
sysMsgQueue = (MESSAGEQUEUE *) GlobalLock16( hmemSysMsgQueue );
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue