Ignoring Form.destroy when closing the android app


I have one problem when I close my app under android, it’s call the TmyMainForm.destroy, and this can take some time to free everything. The problem is that all dephi apps are with launchMode=”singleTask”, so still, the app is not fully closed, you can not launch it again. Now I feel that I can simply do nothing in the procedure TmyMainForm.destroy, even don’t call inherited. This seam to work in the tests I did but I m afraid that I do not see some problems this can produce like for example crashing the app because one HTTP connection was working and thus producing report, etc..

question: is it acceptable to ignore TmyMainForm.destroy under android? else is there something like halt in android to stop/kill immediately the app ?

Comments are closed.