Update Application.cpp

core: application cleanup Destroy window