mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 16:56:01 +02:00
JitClasses: Fixed double "raise" after 1f7accb9e2
"Fix missing Raise before Exception.Create. Issue ##40860. Patch by n7800."
This commit is contained in:
parent
06ecb6ff9d
commit
a23d636c90
@ -525,7 +525,7 @@ begin
|
||||
{$IFDEF JIT_REFCNT_DEBUG}
|
||||
debuglnEnter(['> TRefCountedJitReference.Destroy ',dbgs(self),' ' ]); try
|
||||
{$ENDIF}
|
||||
if FRefCount > 0 then raise
|
||||
if FRefCount > 0 then
|
||||
raise exception.Create('destroy while referrenced');
|
||||
|
||||
DoRefCountZero;
|
||||
|
Loading…
Reference in New Issue
Block a user