glfw EGLView set alloc on the stack to prevent memory leak
add term logic of application to prevent memory leak (for desktop such as linux, mac, windows)
Merge pull request #3690 from dabingnn/release30_bug_hot_fix

glfw EGLView alloc on the stack to prevent memory leak