mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 07:49:12 +02:00
* fix for Mantis #30567; the method only needs to be left with nothing to do if both method and thread are Nil
git-svn-id: trunk@34456 -
This commit is contained in:
parent
26a2ddd3d6
commit
ed144a6535
@ -484,7 +484,7 @@ var
|
|||||||
entry, tmpentry, lastentry: PThreadQueueEntry;
|
entry, tmpentry, lastentry: PThreadQueueEntry;
|
||||||
begin
|
begin
|
||||||
{ anything to do at all? }
|
{ anything to do at all? }
|
||||||
if not Assigned(aThread) or not Assigned(aMethod) then
|
if not Assigned(aThread) and not Assigned(aMethod) then
|
||||||
Exit;
|
Exit;
|
||||||
|
|
||||||
System.EnterCriticalSection(ThreadQueueLock);
|
System.EnterCriticalSection(ThreadQueueLock);
|
||||||
|
Loading…
Reference in New Issue
Block a user