Well you could modify your main to restart the application loop under certain conditions. So you cause your application to release and quite itself and immediately afterwards start it up again from main.
But even restarting does not save you the work of proper memory management.
Also, why would you want to do that? It would probably confuse your user and make him think your program crashed.
|