Add an object to destroy.
Source position: MUIClass.Base.pas line 231
public procedure TMUIApplication.AddToDestroy( |
AObj: TMUINotify |
); |
AObj |
|
Object to destroy |
When an object should be destroyed inside it's own eventhandler, it will crash. Here it can be added to a list of delayed dstruction list, which will be cleared on the next Eventloop cycle.