Commit 5920737f authored by Alexandre Julliard's avatar Alexandre Julliard

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

task exits.
parent 3f1ca481
......@@ -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;
}
......
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