stops running process when quitting editor
stops running process when quitting editor

I noticed a bug where I could close Godot while I was running a project.

If the program was left running and then ran into an error,
or if an error was caught by the debugger and then I quit Godot,
I could no longer close the running project without manually killing it.
This fixes that problem by essentially hitting the Stop button automatically
just prior to quitting the editor.

crr0004/godot,teamblubee/godot,ianholing/godot,honix/godot,opmana/godot,vastcharade/godot,a12n/godot,Paulloz/godot,pkowal1982/godot,zicklag/godot,HatiEth/godot,OpenSocialGames/godot,Marqin/godot,ageazrael/godot,ricpelo/godot,didier-v/godot,okamstudio/godot,ZuBsPaCe/godot,a12n/godot,mikica1986vee/Godot_VideoModeStuff,teamblubee/godot,hipgraphics/godot,mamarilmanson/godot,Zylann/godot,vkbsb/godot,teamblubee/godot,dreamsxin/godot,karolgotowala/godot,mikica1986vee/godot,mrezai/godot,guilhermefelipecgs/godot,mcanders/godot,Marqin/godot,Valentactive/godot,huziyizero/godot,dreamsxin/godot,BogusCurry/godot,Max-Might/godot,Paulloz/godot,quabug/godot,crr0004/godot,shackra/godot,agusbena/godot,lietu/godot,est31/godot,a12n/godot,MrMaidx/godot,DStomtom/godot,ficoos/godot,a12n/godot,didier-v/godot,josempans/godot,firefly2442/godot,opmana/godot,jackmakesthings/godot,n-pigeon/godot,gau-veldt/godot,vnen/godot,vkbsb/godot,BastiaanOlij/godot,liuyucoder/godot,youprofit/godot,Brickcaster/godot,ficoos/godot,crr0004/godot,jjdicharry/godot,xiaoyanit/godot,firefly2442/godot,Zylann/godot,Shockblast/godot,sh95119/godot,mikica1986vee/godot,pkowal1982/godot,sergicollado/godot,DStomtom/godot,shackra/godot,ex/godot,vkbsb/godot,okamstudio/godot,Shockblast/godot,n-pigeon/godot,serafinfernandez/godot,didier-v/godot,marynate/godot,zicklag/godot,jjdicharry/godot,akien-mga/godot,blackwc/godot,RebelliousX/Go_Dot,ricpelo/godot,jjdicharry/godot,kimsunzun/godot,mamarilmanson/godot,jjdicharry/godot,Zylann/godot,Zylann/godot,supriyantomaftuh/godot,firefly2442/godot,mikica1986vee/Godot_android_tegra_fallback,Valentactive/godot,gcbeyond/godot,guilhermefelipecgs/godot,opmana/godot,xiaoyanit/godot,mikica1986vee/godot,Paulloz/godot,tomasy23/evertonkrosnodart,sanikoyes/godot,pkowal1982/godot,Valentactive/godot,tomasy23/evertonkrosnodart,ex/godot,est31/godot,guilhermefelipecgs/godot,Paulloz/godot,kimsunzun/godot,sh95119/godot,FullMeta/godot,gokudomatic/godot,ex/godot,supriyantomaftuh/godot,Valentactive/godot,groud/godot,mikica1986vee/Godot_android_tegra_fallback,mrezai/godot,pixelpicosean/my-godot-2.1,MarianoGnu/godot,kimsunzun/godot,lietu/godot,guilhermefelipecgs/godot,tomreyn/godot,karolgotowala/godot,hitjim/godot,RebelliousX/Go_Dot,TheBoyThePlay/godot,gokudomatic/godot,huziyizero/godot,mrezai/godot,cpascal/godot,Faless/godot,iap-mutant/godot,vnen/godot,firefly2442/godot,sh95119/godot,Faless/godot,HatiEth/godot,buckle2000/godot,mikica1986vee/godot_build_fix,josempans/godot,ianholing/godot,gokudomatic/godot,sanikoyes/godot,liuyucoder/godot,hitjim/godot,mamarilmanson/godot,torgartor21/godot,azurvii/godot,youprofit/godot,serafinfernandez/godot,shackra/godot,jjdicharry/godot,serafinfernandez/godot,crr0004/godot,sanikoyes/godot,tomreyn/godot,HatiEth/godot,ianholing/godot,teamblubee/godot,agusbena/godot,est31/godot,lietu/godot,TheBoyThePlay/godot,azurvii/godot,wardw/godot,zicklag/godot,HatiEth/godot,wardw/godot,vastcharade/godot,ricpelo/godot,mikica1986vee/Godot_android_tegra_fallback,liuyucoder/godot,akien-mga/godot,Paulloz/godot,jackmakesthings/godot,marynate/godot,iap-mutant/godot,karolgotowala/godot,dreamsxin/godot,guilhermefelipecgs/godot,NateWardawg/godot,ianholing/godot,hipgraphics/godot,mikica1986vee/godot,mikica1986vee/godot,est31/godot,tomasy23/evertonkrosnodart,torgartor21/godot,iap-mutant/godot,serafinfernandez/godot,iap-mutant/godot,BoDonkey/godot,buckle2000/godot,hipgraphics/godot,DmitriySalnikov/godot,quabug/godot,shackra/godot,godotengine/godot,RebelliousX/Go_Dot,FateAce/godot,xiaoyanit/godot,n-pigeon/godot,sh95119/godot,kimsunzun/godot,jejung/godot,vastcharade/godot,torgartor21/godot,Zylann/godot,Zylann/godot,vnen/godot,pkowal1982/godot,azurvii/godot,TheBoyThePlay/godot,DStomtom/godot,mamarilmanson/godot,FullMeta/godot,gokudomatic/godot,Max-Might/godot,MrMaidx/godot,jackmakesthings/godot,youprofit/godot,dreamsxin/godot,ianholing/godot,huziyizero/godot,ianholing/godot,OpenSocialGames/godot,FullMeta/godot,exabon/godot,opmana/godot,NateWardawg/godot,mikica1986vee/Godot_VideoModeStuff,hipgraphics/godot,tomreyn/godot,HatiEth/godot,sergicollado/godot,mikica1986vee/Godot_VideoModeStuff,MarianoGnu/godot,crr0004/godot,MrMaidx/godot,TheHX/godot,mikica1986vee/GodotArrayEditorStuff,sh95119/godot,agusbena/godot,quabug/godot,firefly2442/godot,dreamsxin/godot,hipgraphics/godot,hitjim/godot,FateAce/godot,dreamsxin/godot,Hodes/godot,quabug/godot,akien-mga/godot,azurvii/godot,kimsunzun/godot,Max-Might/godot,rollenrolm/godot,tomasy23/evertonkrosnodart,lietu/godot,Max-Might/godot,groud/godot,gcbeyond/godot,BogusCurry/godot,TheBoyThePlay/godot,tomasy23/evertonkrosnodart,TheBoyThePlay/godot,hitjim/godot,ianholing/godot,azurvii/godot,mikica1986vee/godot_build_fix,sh95119/godot,blackwc/godot,OpenSocialGames/godot,ex/godot,agusbena/godot,buckle2000/godot,ex/godot,agusbena/godot,RandomShaper/godot,ricpelo/godot,MarianoGnu/godot,jejung/godot,ex/godot,cpascal/godot,JoshuaGrams/godot,ricpelo/godot,hitjim/godot,mikica1986vee/GodotArrayEditorStuff,pkowal1982/godot,sergicollado/godot,ricpelo/godot,wardw/godot,dreamsxin/godot,okamstudio/godot,n-pigeon/godot,jackmakesthings/godot,karolgotowala/godot,FullMeta/godot,mikica1986vee/godot_build_fix,mamarilmanson/godot,mikica1986vee/godot_build_fix,godotengine/godot,sanikoyes/godot,kimsunzun/godot,guilhermefelipecgs/godot,JoshuaGrams/godot,xiaoyanit/godot,DustinTriplett/godot,mikica1986vee/GodotArrayEditorStuff,BoDonkey/godot,groud/godot,morrow1nd/godot,jjdicharry/godot,morrow1nd/godot,xiaoyanit/godot,liuyucoder/godot,opmana/godot,groud/godot,okamstudio/godot,exabon/godot,BastiaanOlij/godot,JoshuaGrams/godot,Faless/godot,Max-Might/godot,iap-mutant/godot,youprofit/godot,Hodes/godot,morrow1nd/godot,wardw/godot,kimsunzun/godot,vastcharade/godot,TheBoyThePlay/godot,youprofit/godot,BogusCurry/godot,tomasy23/evertonkrosnodart,BoDonkey/godot,sergicollado/godot,mrezai/godot,RandomShaper/godot,agusbena/godot,Paulloz/godot,akien-mga/godot,okamstudio/godot,crr0004/godot,JoshuaGrams/godot,gcbeyond/godot,BastiaanOlij/godot,BoDonkey/godot,zj8487/godot,Max-Might/godot,torgartor21/godot,ex/godot,BogusCurry/godot,josempans/godot,gau-veldt/godot,torgartor21/godot,zj8487/godot,DustinTriplett/godot,zj8487/godot,josempans/godot,shackra/godot,okamstudio/godot,teamblubee/godot,DStomtom/godot,tomreyn/godot,BogusCurry/godot,MarianoGnu/godot,supriyantomaftuh/godot,hipgraphics/godot,gcbeyond/godot,wardw/godot,DustinTriplett/godot,ageazrael/godot,TheBoyThePlay/godot,davidalpha/godot,supriyantomaftuh/godot,supriyantomaftuh/godot,sergicollado/godot,okamstudio/godot,ricpelo/godot,ZuBsPaCe/godot,pixelpicosean/my-godot-2.1,pixelpicosean/my-godot-2.1,MarianoGnu/godot,OpenSocialGames/godot,Brickcaster/godot,vastcharade/godot,vastcharade/godot,MarianoGnu/godot,OpenSocialGames/godot,liuyucoder/godot,BastiaanOlij/godot,dreamsxin/godot,sh95119/godot,josempans/godot,RandomShaper/godot,didier-v/godot,NateWardawg/godot,TheBoyThePlay/godot,HatiEth/godot,DStomtom/godot,buckle2000/godot,pkowal1982/godot,sergicollado/godot,ZuBsPaCe/godot,NateWardawg/godot,guilhermefelipecgs/godot,ricpelo/godot,dreamsxin/godot,josempans/godot,jejung/godot,DmitriySalnikov/godot,BoDonkey/godot,firefly2442/godot,mcanders/godot,Brickcaster/godot,jackmakesthings/godot,BastiaanOlij/godot,cpascal/godot,Faless/godot,tomasy23/evertonkrosnodart,ageazrael/godot,RebelliousX/Go_Dot,ricpelo/godot,mikica1986vee/godot_build_fix,iap-mutant/godot,BastiaanOlij/godot,zj8487/godot,DustinTriplett/godot,karolgotowala/godot,sergicollado/godot,mikica1986vee/godot_build_fix,mikica1986vee/GodotArrayEditorStuff,youprofit/godot,ZuBsPaCe/godot,n-pigeon/godot,godotengine/godot,lietu/godot,mcanders/godot,gokudomatic/godot,mikica1986vee/GodotArrayEditorStuff,godotengine/godot,BogusCurry/godot,RebelliousX/Go_Dot,mikica1986vee/Godot_VideoModeStuff,hitjim/godot,Shockblast/godot,vkbsb/godot,jjdicharry/godot,akien-mga/godot,FateAce/godot,a12n/godot,sh95119/godot,MrMaidx/godot,lietu/godot,mikica1986vee/godot,Marqin/godot,n-pigeon/godot,honix/godot,cpascal/godot,youprofit/godot,ageazrael/godot,teamblubee/godot,jejung/godot,TheHX/godot,okamstudio/godot,firefly2442/godot,DStomtom/godot,lietu/godot,ficoos/godot,hipgraphics/godot,shackra/godot,zj8487/godot,guilhermefelipecgs/godot,huziyizero/godot,gcbeyond/godot,morrow1nd/godot,blackwc/godot,hipgraphics/godot,OpenSocialGames/godot,gcbeyond/godot,est31/godot,Valentactive/godot,davidalpha/godot,quabug/godot,cpascal/godot,liuyucoder/godot,TheHX/godot,vkbsb/godot,mikica1986vee/godot,sergicollado/godot,mikica1986vee/Godot_VideoModeStuff,tomreyn/godot,lietu/godot,gcbeyond/godot,torgartor21/godot,mikica1986vee/GodotArrayEditorStuff,BoDonkey/godot,morrow1nd/godot,zj8487/godot,marynate/godot,groud/godot,MrMaidx/godot,BoDonkey/godot,RandomShaper/godot,Hodes/godot,FullMeta/godot,RandomShaper/godot,n-pigeon/godot,sanikoyes/godot,akien-mga/godot,mamarilmanson/godot,crr0004/godot,RandomShaper/godot,mrezai/godot,a12n/godot,mikica1986vee/godot,sanikoyes/godot,supriyantomaftuh/godot,didier-v/godot,DmitriySalnikov/godot,xiaoyanit/godot,pkowal1982/godot,ageazrael/godot,Faless/godot,youprofit/godot,Valentactive/godot,rollenrolm/godot,godotengine/godot,zj8487/godot,FullMeta/godot,azurvii/godot,mikica1986vee/Godot_android_tegra_fallback,karolgotowala/godot,liuyucoder/godot,quabug/godot,serafinfernandez/godot,quabug/godot,serafinfernandez/godot,blackwc/godot,okamstudio/godot,serafinfernandez/godot,youprofit/godot,ZuBsPaCe/godot,BastiaanOlij/godot,gokudomatic/godot,ficoos/godot,vkbsb/godot,blackwc/godot,TheHX/godot,est31/godot,mcanders/godot,gau-veldt/godot,mikica1986vee/Godot_android_tegra_fallback,davidalpha/godot,blackwc/godot,torgartor21/godot,teamblubee/godot,shackra/godot,cpascal/godot,mikica1986vee/Godot_android_tegra_fallback,jackmakesthings/godot,vkbsb/godot,gokudomatic/godot,Faless/godot,Shockblast/godot,Valentactive/godot,serafinfernandez/godot,jackmakesthings/godot,DStomtom/godot,mikica1986vee/Godot_android_tegra_fallback,FullMeta/godot,zicklag/godot,didier-v/godot,pkowal1982/godot,zicklag/godot,NateWardawg/godot,Faless/godot,exabon/godot,youprofit/godot,BoDonkey/godot,gau-veldt/godot,hipgraphics/godot,honix/godot,mrezai/godot,didier-v/godot,mikica1986vee/Godot_android_tegra_fallback,supriyantomaftuh/godot,DustinTriplett/godot,cpascal/godot,DustinTriplett/godot,iap-mutant/godot,MarianoGnu/godot,karolgotowala/godot,ianholing/godot,FullMeta/godot,Hodes/godot,FullMeta/godot,NateWardawg/godot,mikica1986vee/GodotArrayEditorStuff,rollenrolm/godot,exabon/godot,Brickcaster/godot,mamarilmanson/godot,mcanders/godot,BoDonkey/godot,xiaoyanit/godot,ficoos/godot,huziyizero/godot,TheBoyThePlay/godot,gau-veldt/godot,agusbena/godot,marynate/godot,vastcharade/godot,zicklag/godot,davidalpha/godot,mikica1986vee/GodotArrayEditorStuff,akien-mga/godot,wardw/godot,Brickcaster/godot,torgartor21/godot,teamblubee/godot,xiaoyanit/godot,honix/godot,godotengine/godot,iap-mutant/godot,didier-v/godot,JoshuaGrams/godot,jackmakesthings/godot,sanikoyes/godot,BogusCurry/godot,buckle2000/godot,quabug/godot,BogusCurry/godot,blackwc/godot,blackwc/godot,FateAce/godot,didier-v/godot,MrMaidx/godot,hitjim/godot,groud/godot,ianholing/godot,ianholing/godot,a12n/godot,jackmakesthings/godot,gokudomatic/godot,serafinfernandez/godot,vkbsb/godot,davidalpha/godot,crr0004/godot,sergicollado/godot,iap-mutant/godot,TheBoyThePlay/godot,OpenSocialGames/godot,gcbeyond/godot,BogusCurry/godot,vnen/godot,DStomtom/godot,quabug/godot,ZuBsPaCe/godot,BastiaanOlij/godot,DustinTriplett/godot,jejung/godot,mikica1986vee/godot,josempans/godot,BoDonkey/godot,TheHX/godot,kimsunzun/godot,vnen/godot,ageazrael/godot,davidalpha/godot,mikica1986vee/GodotArrayEditorStuff,vnen/godot,mikica1986vee/Godot_android_tegra_fallback,lietu/godot,Zylann/godot,Marqin/godot,Shockblast/godot,didier-v/godot,mikica1986vee/Godot_VideoModeStuff,pixelpicosean/my-godot-2.1,godotengine/godot,serafinfernandez/godot,marynate/godot,crr0004/godot,jackmakesthings/godot,zj8487/godot,mikica1986vee/Godot_VideoModeStuff,crr0004/godot,liuyucoder/godot,teamblubee/godot,hitjim/godot,wardw/godot,hipgraphics/godot,okamstudio/godot,davidalpha/godot,davidalpha/godot,Hodes/godot,honix/godot,shackra/godot,liuyucoder/godot,HatiEth/godot,Paulloz/godot,cpascal/godot,supriyantomaftuh/godot,supriyantomaftuh/godot,a12n/godot,hitjim/godot,RebelliousX/Go_Dot,mamarilmanson/godot,godotengine/godot,sanikoyes/godot,mikica1986vee/Godot_android_tegra_fallback,gokudomatic/godot,firefly2442/godot,mamarilmanson/godot,marynate/godot,blackwc/godot,HatiEth/godot,HatiEth/godot,lietu/godot,RandomShaper/godot,josempans/godot,ricpelo/godot,DmitriySalnikov/godot,marynate/godot,DStomtom/godot,FateAce/godot,marynate/godot,ageazrael/godot,davidalpha/godot,rollenrolm/godot,Hodes/godot,Marqin/godot,ex/godot,liuyucoder/godot,ZuBsPaCe/godot,shackra/godot,Valentactive/godot,mrezai/godot,mamarilmanson/godot,mikica1986vee/godot_build_fix,NateWardawg/godot,hitjim/godot,OpenSocialGames/godot,vastcharade/godot,sh95119/godot,DmitriySalnikov/godot,a12n/godot,jjdicharry/godot,exabon/godot,sergicollado/godot,ZuBsPaCe/godot,karolgotowala/godot,kimsunzun/godot,jejung/godot,jjdicharry/godot,torgartor21/godot,DStomtom/godot,shackra/godot,supriyantomaftuh/godot,pixelpicosean/my-godot-2.1,Shockblast/godot,OpenSocialGames/godot,FullMeta/godot,OpenSocialGames/godot,HatiEth/godot,dreamsxin/godot,Shockblast/godot,BogusCurry/godot,gokudomatic/godot,torgartor21/godot,mikica1986vee/godot_build_fix,blackwc/godot,tomasy23/evertonkrosnodart,marynate/godot,cpascal/godot,Brickcaster/godot,vnen/godot,MarianoGnu/godot,Marqin/godot,DmitriySalnikov/godot,karolgotowala/godot,DustinTriplett/godot,rollenrolm/godot,ficoos/godot,gcbeyond/godot,karolgotowala/godot,akien-mga/godot,sh95119/godot,a12n/godot,mrezai/godot,jjdicharry/godot,buckle2000/godot,xiaoyanit/godot,honix/godot,wardw/godot,vastcharade/godot,mikica1986vee/GodotArrayEditorStuff,vastcharade/godot,marynate/godot,teamblubee/godot,cpascal/godot,NateWardawg/godot,DmitriySalnikov/godot,Zylann/godot,xiaoyanit/godot,kimsunzun/godot,zj8487/godot,Faless/godot,zj8487/godot,morrow1nd/godot,mikica1986vee/godot,mcanders/godot,JoshuaGrams/godot,vnen/godot,davidalpha/godot,exabon/godot,mikica1986vee/Godot_VideoModeStuff,Shockblast/godot,Brickcaster/godot,wardw/godot,iap-mutant/godot,gcbeyond/godot,FateAce/godot,quabug/godot,wardw/godot,NateWardawg/godot,agusbena/godot