* Patch by C Western to fix use of uninitialized lock (bug ID 31682

git-svn-id: trunk@35879 -
This commit is contained in:
michael 2017-04-21 19:25:53 +00:00
parent 6252a02fe1
commit 80c510b4aa

View File

@ -653,6 +653,7 @@ begin
try
MsgItem:=FQueue.Pop;
finally
if DoLock then
LeaveCriticalsection(FLock);
end;
Result:=Assigned(MsgItem);