Reduce the risk of the files or sockets being closed after the end of 'main' (or more exactly before the library start being unloaded) by calling CloseFiles and ResetGlobals in the destructor of the TApplication (which is in most cases on the stack of the main function)
Reduce the risk of the files or sockets being closed after the end of 'main' (or more exactly before the library start being unloaded) by calling CloseFiles and ResetGlobals in the destructor of the TApplication (which is in most cases on the stack of the main function)


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@48219 27541ba8-7e3a-0410-8455-c3a389f83636

zzxuanyuan/root-compressor-dummy,evgeny-boger/root,0x0all/ROOT,georgtroska/root,pspe/root,beniz/root,Y--/root,gganis/root,thomaskeck/root,davidlt/root,mhuwiler/rootauto,davidlt/root,veprbl/root,veprbl/root,simonpf/root,sbinet/cxx-root,vukasinmilosevic/root,0x0all/ROOT,arch1tect0r/root,arch1tect0r/root,mkret2/root,simonpf/root,abhinavmoudgil95/root,omazapa/root-old,mhuwiler/rootauto,CristinaCristescu/root,gganis/root,sirinath/root,evgeny-boger/root,thomaskeck/root,mattkretz/root,sawenzel/root,Duraznos/root,veprbl/root,BerserkerTroll/root,davidlt/root,karies/root,georgtroska/root,lgiommi/root,esakellari/my_root_for_test,bbockelm/root,pspe/root,simonpf/root,sbinet/cxx-root,zzxuanyuan/root,Y--/root,zzxuanyuan/root-compressor-dummy,esakellari/root,mkret2/root,sawenzel/root,lgiommi/root,karies/root,mattkretz/root,veprbl/root,mhuwiler/rootauto,root-mirror/root,Y--/root,gbitzes/root,pspe/root,smarinac/root,davidlt/root,perovic/root,gbitzes/root,mhuwiler/rootauto,beniz/root,simonpf/root,pspe/root,olifre/root,zzxuanyuan/root-compressor-dummy,BerserkerTroll/root,perovic/root,zzxuanyuan/root-compressor-dummy,olifre/root,georgtroska/root,BerserkerTroll/root,mkret2/root,olifre/root,gbitzes/root,CristinaCristescu/root,olifre/root,abhinavmoudgil95/root,krafczyk/root,bbockelm/root,esakellari/root,sawenzel/root,abhinavmoudgil95/root,root-mirror/root,veprbl/root,lgiommi/root,arch1tect0r/root,thomaskeck/root,mkret2/root,jrtomps/root,zzxuanyuan/root,mkret2/root,olifre/root,Y--/root,mattkretz/root,mkret2/root,sirinath/root,BerserkerTroll/root,veprbl/root,vukasinmilosevic/root,zzxuanyuan/root-compressor-dummy,beniz/root,esakellari/my_root_for_test,thomaskeck/root,mattkretz/root,sbinet/cxx-root,abhinavmoudgil95/root,satyarth934/root,perovic/root,perovic/root,BerserkerTroll/root,cxx-hep/root-cern,gganis/root,smarinac/root,veprbl/root,CristinaCristescu/root,BerserkerTroll/root,mhuwiler/rootauto,sawenzel/root,perovic/root,krafczyk/root,nilqed/root,krafczyk/root,krafczyk/root,karies/root,smarinac/root,beniz/root,nilqed/root,satyarth934/root,pspe/root,0x0all/ROOT,smarinac/root,simonpf/root,bbockelm/root,gganis/root,abhinavmoudgil95/root,arch1tect0r/root,mattkretz/root,perovic/root,zzxuanyuan/root,krafczyk/root,esakellari/my_root_for_test,esakellari/my_root_for_test,simonpf/root,vukasinmilosevic/root,mattkretz/root,karies/root,mhuwiler/rootauto,arch1tect0r/root,abhinavmoudgil95/root,Duraznos/root,lgiommi/root,alexschlueter/cern-root,mkret2/root,bbockelm/root,esakellari/root,simonpf/root,omazapa/root-old,dfunke/root,CristinaCristescu/root,sawenzel/root,karies/root,agarciamontoro/root,sirinath/root,nilqed/root,sirinath/root,mhuwiler/rootauto,zzxuanyuan/root-compressor-dummy,simonpf/root,olifre/root,dfunke/root,bbockelm/root,omazapa/root-old,nilqed/root,sbinet/cxx-root,omazapa/root,agarciamontoro/root,alexschlueter/cern-root,evgeny-boger/root,karies/root,simonpf/root,jrtomps/root,beniz/root,evgeny-boger/root,Duraznos/root,davidlt/root,thomaskeck/root,cxx-hep/root-cern,0x0all/ROOT,zzxuanyuan/root,buuck/root,beniz/root,karies/root,pspe/root,georgtroska/root,thomaskeck/root,krafczyk/root,evgeny-boger/root,zzxuanyuan/root,esakellari/root,gbitzes/root,arch1tect0r/root,bbockelm/root,nilqed/root,smarinac/root,pspe/root,mattkretz/root,vukasinmilosevic/root,omazapa/root,perovic/root,gganis/root,lgiommi/root,davidlt/root,smarinac/root,bbockelm/root,dfunke/root,gbitzes/root,Duraznos/root,0x0all/ROOT,thomaskeck/root,sawenzel/root,jrtomps/root,agarciamontoro/root,beniz/root,pspe/root,vukasinmilosevic/root,pspe/root,sirinath/root,Y--/root,jrtomps/root,dfunke/root,sawenzel/root,olifre/root,satyarth934/root,zzxuanyuan/root,davidlt/root,karies/root,smarinac/root,bbockelm/root,karies/root,beniz/root,jrtomps/root,esakellari/my_root_for_test,jrtomps/root,agarciamontoro/root,esakellari/root,beniz/root,georgtroska/root,simonpf/root,buuck/root,dfunke/root,sirinath/root,Duraznos/root,omazapa/root,Duraznos/root,dfunke/root,omazapa/root,esakellari/root,abhinavmoudgil95/root,nilqed/root,0x0all/ROOT,CristinaCristescu/root,krafczyk/root,omazapa/root-old,sirinath/root,mattkretz/root,bbockelm/root,root-mirror/root,cxx-hep/root-cern,simonpf/root,omazapa/root-old,esakellari/root,sawenzel/root,omazapa/root,gbitzes/root,zzxuanyuan/root-compressor-dummy,georgtroska/root,dfunke/root,georgtroska/root,dfunke/root,cxx-hep/root-cern,gganis/root,mattkretz/root,alexschlueter/cern-root,nilqed/root,vukasinmilosevic/root,davidlt/root,esakellari/my_root_for_test,omazapa/root-old,mhuwiler/rootauto,pspe/root,lgiommi/root,davidlt/root,satyarth934/root,sbinet/cxx-root,thomaskeck/root,BerserkerTroll/root,sirinath/root,abhinavmoudgil95/root,pspe/root,georgtroska/root,CristinaCristescu/root,root-mirror/root,gganis/root,sbinet/cxx-root,alexschlueter/cern-root,CristinaCristescu/root,jrtomps/root,gbitzes/root,lgiommi/root,buuck/root,evgeny-boger/root,zzxuanyuan/root,sbinet/cxx-root,Y--/root,perovic/root,smarinac/root,buuck/root,abhinavmoudgil95/root,sawenzel/root,vukasinmilosevic/root,krafczyk/root,agarciamontoro/root,sbinet/cxx-root,abhinavmoudgil95/root,omazapa/root,satyarth934/root,sbinet/cxx-root,agarciamontoro/root,zzxuanyuan/root,arch1tect0r/root,vukasinmilosevic/root,vukasinmilosevic/root,buuck/root,0x0all/ROOT,esakellari/my_root_for_test,olifre/root,veprbl/root,lgiommi/root,omazapa/root,Y--/root,esakellari/my_root_for_test,omazapa/root-old,CristinaCristescu/root,0x0all/ROOT,vukasinmilosevic/root,georgtroska/root,mattkretz/root,georgtroska/root,sawenzel/root,alexschlueter/cern-root,dfunke/root,lgiommi/root,mattkretz/root,satyarth934/root,gganis/root,zzxuanyuan/root-compressor-dummy,thomaskeck/root,0x0all/ROOT,evgeny-boger/root,mkret2/root,mhuwiler/rootauto,sirinath/root,agarciamontoro/root,BerserkerTroll/root,perovic/root,alexschlueter/cern-root,zzxuanyuan/root-compressor-dummy,zzxuanyuan/root-compressor-dummy,Y--/root,agarciamontoro/root,Y--/root,omazapa/root-old,sbinet/cxx-root,abhinavmoudgil95/root,root-mirror/root,buuck/root,nilqed/root,arch1tect0r/root,jrtomps/root,omazapa/root-old,gganis/root,omazapa/root,smarinac/root,esakellari/root,gbitzes/root,buuck/root,root-mirror/root,esakellari/my_root_for_test,olifre/root,krafczyk/root,cxx-hep/root-cern,vukasinmilosevic/root,gganis/root,beniz/root,alexschlueter/cern-root,omazapa/root-old,arch1tect0r/root,Y--/root,Duraznos/root,omazapa/root,CristinaCristescu/root,cxx-hep/root-cern,krafczyk/root,sbinet/cxx-root,cxx-hep/root-cern,mhuwiler/rootauto,gbitzes/root,evgeny-boger/root,jrtomps/root,gbitzes/root,root-mirror/root,zzxuanyuan/root,satyarth934/root,mkret2/root,bbockelm/root,davidlt/root,veprbl/root,agarciamontoro/root,BerserkerTroll/root,nilqed/root,esakellari/root,evgeny-boger/root,perovic/root,zzxuanyuan/root,esakellari/my_root_for_test,veprbl/root,agarciamontoro/root,karies/root,olifre/root,mhuwiler/rootauto,omazapa/root,dfunke/root,mkret2/root,sirinath/root,georgtroska/root,beniz/root,CristinaCristescu/root,dfunke/root,satyarth934/root,krafczyk/root,bbockelm/root,satyarth934/root,Y--/root,BerserkerTroll/root,gganis/root,root-mirror/root,Duraznos/root,zzxuanyuan/root-compressor-dummy,CristinaCristescu/root,arch1tect0r/root,buuck/root,esakellari/root,esakellari/root,satyarth934/root,Duraznos/root,veprbl/root,arch1tect0r/root,buuck/root,satyarth934/root,sawenzel/root,omazapa/root,agarciamontoro/root,sirinath/root,root-mirror/root,lgiommi/root,jrtomps/root,BerserkerTroll/root,smarinac/root,omazapa/root-old,perovic/root,cxx-hep/root-cern,root-mirror/root,jrtomps/root,karies/root,buuck/root,Duraznos/root,nilqed/root,zzxuanyuan/root,Duraznos/root,evgeny-boger/root,davidlt/root,lgiommi/root,zzxuanyuan/root,mkret2/root,root-mirror/root,buuck/root,nilqed/root,evgeny-boger/root,thomaskeck/root,gbitzes/root,olifre/root