Crash while clicking close button on desktop platforms

glview release in GLView::end(), but still have to use later in Application::run()