Clear owner of system message queue to avoid freeing it when the first

task exits.
This commit is contained in:
Alexandre Julliard 2001-05-14 20:01:38 +00:00
parent 3f1ca48166
commit 5920737f80

View File

@ -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;
}