Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2668 - Access Violation when closing Ticker example in FireMonkey/TeeGridFeatures demo
Summary: Access Violation when closing Ticker example in FireMonkey/TeeGridFeatures demo
Status: RESOLVED FIXED
Alias: None
Product: TeeGrid for Delphi
Classification: Unclassified
Component: Grid (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: david berneda
URL: https://www.steema.com/support/viewto...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-01 02:34 EST by yeray alonso
Modified: 2024-02-01 02:36 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yeray alonso 2024-02-01 02:34:28 EST
Running the Ticker demo, from the FireMonkey/TeeGridFeatures application, I get an Access Violation when closing the app.

The customer found this fixes the problem:

Destructor TGridTicker.Destroy;
begin
  Enabled := False;   //Fix AV, Disable
  IThread.Terminate;  //Fix AV, Terminate myself
  IThread.WaitFor;    //Fix AV, Wait until last loop finished

  IThread.Free;
  FLowerBrush.Free;
  FHigherBrush.Free;
  inherited;
end;