eugeneloza / decoherence

Project moved to https://gitlab.com/EugeneLoza/decoherence
GNU General Public License v3.0
10 stars 7 forks source link

bug in KillMePlease #437

Closed eugeneloza closed 6 years ago

eugeneloza commented 6 years ago

This will raise a SIGSEGV due to Children "owning" c and therefore killing it in Remove

    if Children[i].KillMePlease then
    begin
      c := Children[i];
      Children.Remove(c);
      c.Free;