mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 05:00:30 +00:00
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
Block a user