You might be marked down for it on an exam, but not explicitly cleaning up many classes of resources and just exiting the process to let the OS do it is often completely reasonable, and the high performance thing to do. Apps that don't exit instantly get a glare.
-
-
Replying to @ID_AA_Carmack
Yes! It's also the *safe* thing to do (tearing down singletons or permanent-ish data accessed from multiple threads is very hard to make safe), and I always advocate not doing deep-free-at-exit nonsense.https://stackoverflow.com/a/3130401/379897 …
2 replies 2 retweets 8 likes
Replying to @RichFelker @ID_AA_Carmack
Oops, this is the one I meant to link. Similar spirit. https://stackoverflow.com/a/6347182/379897 …
3:56 PM - 25 Jul 2018
0 replies
2 retweets
12 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.