turbopower_ipro: Fix browser example crashing at program end.

git-svn-id: trunk@51947 -
This commit is contained in:
wp 2016-03-15 10:48:37 +00:00
parent 7d9e0c48b3
commit 0c321120f7

View File

@ -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;