controlling application domain existence cycle is finished programmatically by runtime hosts (you can override it also). For procedures & threads, You need to explicitly control their existence cycle.
In the case on https://majainsj818822.get-blogging.com/29195797/the-best-side-of-app-domain