Reduce lifetime of lock in TFile::~TFile to avoid lock nesting.
Reduce lifetime of lock in TFile::~TFile to avoid lock nesting.

No need to hold the gROOTMutex while executing ResetGlobalVar.

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