使用输入流时未定义的行为

时间:2016-11-15 19:04:51

标签: java multithreading inputstream

为什么此代码包含未定义的行为(程序在一半的时间内完成)。当我需要完成程序时,如何彻底关闭阅读器?

func handleAccessoryAttach(_ notification:NSNotification){
    txt_rcvd.text = "Accessory Attached"
}


func handleAccessoryDetach(_ notification:NSNotification){
    txt_rcvd.text = "Accessory Detached"
}

0 个答案:

没有答案