mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 06:39:52 +02:00
turbopower_ipro: Fix browser example crashing at program end.
git-svn-id: trunk@51947 -
This commit is contained in:
parent
7d9e0c48b3
commit
0c321120f7
@ -15110,7 +15110,8 @@ begin
|
||||
if (Operation = opRemove) then
|
||||
if (AComponent = DataProvider) then begin
|
||||
DataProvider := nil;
|
||||
FMasterFrame.RemoveDataProvider;
|
||||
if Assigned(FMasterFrame) then
|
||||
FMasterFrame.RemoveDataProvider;
|
||||
end;
|
||||
inherited Notification(AComponent, Operation);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user