mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 04:07:57 +02:00
LCL: Improve a debug msg when destroying a component with LCLRefCount>0.
git-svn-id: trunk@51948 -
This commit is contained in:
parent
0c321120f7
commit
c44a316e99
@ -122,7 +122,7 @@ destructor TLCLComponent.Destroy;
|
||||
begin
|
||||
{$IFNDEF DisableChecks}
|
||||
if FLCLRefCount>0 then
|
||||
DebugLn(['WARNING: TLCLComponent.Destroy with LCLRefCount>0. Hint: Maybe the component is processing an event?']);
|
||||
DebugLn(['WARNING: ' + ClassName + '.Destroy with LCLRefCount>0. Hint: Maybe the component is processing an event?']);
|
||||
{$ENDIF}
|
||||
{$IFDEF DebugLCLComponents}
|
||||
//DebugLn('TLCLComponent.Destroy ',DbgSName(Self));
|
||||
|
Loading…
Reference in New Issue
Block a user