Fix exiting on windows and linux
Fix exiting on windows and linux

Newbrict/engi,guregu/eng,Newbrict/engi,guregu/engi,EngoEngine/engo,paked/engi,ajhager/engi,EtienneBruines/engi,wangshijin/engi,mboersma/engi,EngoEngine/engo,Newbrict/engo,Newbrict/engo