why runtime.halt(0) must be used with caution?

妖精的绣舞 提交于 2020-04-17 20:08:33

问题


I want to terminate my app immediatly, because my app is with singleTask mode and if my app take some time to shunt down for any reasons, then the user can not relaunch it immediately and he must wait. so I think to use runtime.halt(0) but it's written to use it with caution and I don't know what I must specifically take care of? I just want my app to shutdown immediatly.

来源:https://stackoverflow.com/questions/61097552/why-runtime-halt0-must-be-used-with-caution

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!