Address tear-down issues (heap based TApplication). Partial fix ROOT-8307.
Address tear-down issues (heap based TApplication). Partial fix ROOT-8307.

If we get to the TApplication clean C function, the tear down has started.
We have no way to know what has or has not yet been done.  In particular
on Ubuntu, this was called after the function static in TSystem.cxx has
been destructed.  So we set gROOT in its end-of-life mode which prevents
executing code, like autoloading libraries (!) that is pointless ...

bbockelm/root,lgiommi/root,buuck/root,olifre/root,buuck/root,karies/root,BerserkerTroll/root,pspe/root,thomaskeck/root,buuck/root,mhuwiler/rootauto,satyarth934/root,bbockelm/root,veprbl/root,gganis/root,georgtroska/root,gbitzes/root,beniz/root,zzxuanyuan/root,root-mirror/root,beniz/root,gganis/root,root-mirror/root,simonpf/root,karies/root,root-mirror/root,abhinavmoudgil95/root,beniz/root,BerserkerTroll/root,pspe/root,davidlt/root,zzxuanyuan/root-compressor-dummy,zzxuanyuan/root,olifre/root,pspe/root,gganis/root,buuck/root,buuck/root,BerserkerTroll/root,gganis/root,gganis/root,mhuwiler/rootauto,beniz/root,lgiommi/root,beniz/root,satyarth934/root,bbockelm/root,simonpf/root,thomaskeck/root,Y--/root,mhuwiler/rootauto,olifre/root,beniz/root,davidlt/root,abhinavmoudgil95/root,gbitzes/root,BerserkerTroll/root,thomaskeck/root,BerserkerTroll/root,georgtroska/root,agarciamontoro/root,simonpf/root,veprbl/root,mhuwiler/rootauto,bbockelm/root,davidlt/root,pspe/root,lgiommi/root,veprbl/root,mhuwiler/rootauto,veprbl/root,mhuwiler/rootauto,abhinavmoudgil95/root,simonpf/root,davidlt/root,mhuwiler/rootauto,buuck/root,mhuwiler/rootauto,abhinavmoudgil95/root,satyarth934/root,zzxuanyuan/root-compressor-dummy,zzxuanyuan/root,gganis/root,davidlt/root,root-mirror/root,zzxuanyuan/root-compressor-dummy,abhinavmoudgil95/root,lgiommi/root,gbitzes/root,zzxuanyuan/root,georgtroska/root,abhinavmoudgil95/root,simonpf/root,veprbl/root,veprbl/root,abhinavmoudgil95/root,georgtroska/root,olifre/root,beniz/root,olifre/root,pspe/root,beniz/root,thomaskeck/root,davidlt/root,bbockelm/root,agarciamontoro/root,root-mirror/root,BerserkerTroll/root,davidlt/root,agarciamontoro/root,satyarth934/root,lgiommi/root,zzxuanyuan/root,gbitzes/root,bbockelm/root,root-mirror/root,agarciamontoro/root,BerserkerTroll/root,gbitzes/root,zzxuanyuan/root,gganis/root,Y--/root,zzxuanyuan/root-compressor-dummy,satyarth934/root,pspe/root,davidlt/root,gbitzes/root,georgtroska/root,zzxuanyuan/root-compressor-dummy,davidlt/root,gganis/root,zzxuanyuan/root,georgtroska/root,zzxuanyuan/root-compressor-dummy,gbitzes/root,buuck/root,olifre/root,simonpf/root,satyarth934/root,zzxuanyuan/root-compressor-dummy,BerserkerTroll/root,karies/root,pspe/root,simonpf/root,lgiommi/root,mhuwiler/rootauto,beniz/root,georgtroska/root,olifre/root,satyarth934/root,veprbl/root,lgiommi/root,gbitzes/root,pspe/root,olifre/root,georgtroska/root,simonpf/root,beniz/root,pspe/root,mhuwiler/rootauto,thomaskeck/root,bbockelm/root,zzxuanyuan/root,karies/root,bbockelm/root,pspe/root,thomaskeck/root,Y--/root,beniz/root,pspe/root,abhinavmoudgil95/root,zzxuanyuan/root-compressor-dummy,root-mirror/root,agarciamontoro/root,agarciamontoro/root,satyarth934/root,gganis/root,zzxuanyuan/root-compressor-dummy,gbitzes/root,bbockelm/root,agarciamontoro/root,lgiommi/root,root-mirror/root,agarciamontoro/root,gganis/root,veprbl/root,gganis/root,Y--/root,karies/root,mhuwiler/rootauto,satyarth934/root,simonpf/root,karies/root,lgiommi/root,simonpf/root,Y--/root,abhinavmoudgil95/root,bbockelm/root,karies/root,zzxuanyuan/root-compressor-dummy,satyarth934/root,bbockelm/root,lgiommi/root,abhinavmoudgil95/root,agarciamontoro/root,agarciamontoro/root,Y--/root,thomaskeck/root,BerserkerTroll/root,zzxuanyuan/root-compressor-dummy,georgtroska/root,karies/root,BerserkerTroll/root,georgtroska/root,georgtroska/root,veprbl/root,olifre/root,Y--/root,zzxuanyuan/root,root-mirror/root,buuck/root,Y--/root,satyarth934/root,zzxuanyuan/root,agarciamontoro/root,Y--/root,karies/root,root-mirror/root,buuck/root,olifre/root,karies/root,zzxuanyuan/root,zzxuanyuan/root,lgiommi/root,simonpf/root,buuck/root,buuck/root,davidlt/root,karies/root,davidlt/root,thomaskeck/root,olifre/root,Y--/root,BerserkerTroll/root,gbitzes/root,thomaskeck/root,gbitzes/root,Y--/root,abhinavmoudgil95/root,thomaskeck/root,root-mirror/root,veprbl/root,veprbl/root