This reverts commit ff2cf30238.
ff2cf30238
* 关闭窗口释放UI资源 * windows 还有左键点击事件 * 兼容enhance profile * bug 修复