From 5920737f80e397f69a250ef596e01a6e49805467 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 14 May 2001 20:01:38 +0000 Subject: [PATCH] Clear owner of system message queue to avoid freeing it when the first task exits. --- windows/queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/queue.c b/windows/queue.c index 602cc2dd576..14a55ce808b 100644 --- a/windows/queue.c +++ b/windows/queue.c @@ -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; }