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

Summary: Access Violation when closing Ticker example in FireMonkey/TeeGridFeatures demo
Product: TeeGrid for Delphi Reporter: yeray alonso <yeray>
Component: GridAssignee: david berneda <david>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: https://www.steema.com/support/viewtopic.php?f=21&t=18096
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

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;