我自定义了一个登录窗口,做个退出按钮,代码设置为:syscmd.project.exit
点击后能正常退出,但是会报错,提示信息为:Object reference not set to an instance of an object.
不知为何原因?之前并未出现过,只是升级之后出现的