add protection in case canvas was closed via WM close button.
add protection in case canvas was closed via WM close button.


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

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