Qt SIGSEGV
m_bThreadFlag = true;
if(NULL != m_pNtripSocket){
delete m_pNtripSocket;
m_pNtripSocket = NULL;
}
if(NULL == m_pNtripSocket){
m_pNtripSocket = new ProcessVibConnect(this);
connect(m_pNtripSocket, SIGNAL(proDataReceivedNtrip(char*, int)),this, SLOT(OnDataReceivedFromNtrip(char*, int)),Qt::DirectConnection);
执行到 delete m_pNtripSocket; 就崩溃,提示 :
原来是 没有给指针初始化NULL 引起的。。。。。。。。。。。。。。
}