当我退出多任务栏(iPhone)时出现程序接收信号SIGKILL异常 [英] Program received signal SIGKILL exception comes up when I quit in the multitasking bar (iPhone)

查看:97
本文介绍了当我退出多任务栏(iPhone)时出现程序接收信号SIGKILL异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我双击主页按钮并从多任务栏退出我的应用程序并再次打开应用程序时,Xcode读取:线程1:程序收到信号:SIGKILL并冻结我的iPod。该应用程序有1500多行,所以我无法真正放任何代码,抱歉。我可能做错了什么?

When I double tap the home button and quit out of my app from the multitasking bar and open the app again, Xcode reads: "Thread 1: program received signal: SIGKILL" and freezes my iPod. The app has 1500+ lines so I can't really put any code up, sorry. What could I be doing wrong?

推荐答案

您的1500多行代码真的是无辜的。

Xcode 运行应用程序并从 iPod 终止应用程序时会发生这种情况,而不会停止从 Xcode 执行。从多任务栏关闭应用程序不会停止在Xcode中执行(但是,我总是希望它能够)。因此,当您再次打开它时,Xcode会抛出 SIGKILL 异常。而且,它对您的应用程序没有任何伤害。无需担心。

It happens when you run the app from Xcode, and terminate it from the iPod, without stopping the execution from Xcode. Closing the app from multitasking bar doesn't stop its execution in Xcode(but, I always expect it to do). So, when you open it again, the Xcode throws that SIGKILL exception. And, it doesn't do any harm to your app. No need to worry about it.

而且,当然,我不知道这种行为的任何技术解释。我不是那么天真; - )

这篇关于当我退出多任务栏(iPhone)时出现程序接收信号SIGKILL异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆