Skip to content
Snippets Groups Projects
Commit 5920737f authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

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

task exits.
parent 3f1ca481
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment