search

Home  >  Q&A  >  body text

objective-c - EXC_BREAKPOINT的问题

主线程报EXC_BREAKPOINT,定位在一个delegate,看了半天没有错误,

dispatch_async(_callbackQueue, ^{
    [self.delegate webSocket:self didReceiveMessage:message]; // 这里
});

请问各位大概是什么问题导致的? 是重复释放内存了吗?

伊谢尔伦伊谢尔伦2908 days ago375

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-04-21 10:59:34

    This is my problem. The problem is that after logging out and logging in again, I did not clean up the previous delegate and close the socket, which caused conflicts in the queue.

    reply
    0
  • Cancelreply