I've just started using Delphi and right away there's one thing I can't do in a VCL forms application: destroy it properly.
At the moment I'm calling Form1.Destroy which appears to work, but if I look at the processes list it's still there and Delphi refuses to write the .exe while it is.
How do I properly destroy it?