use abort()

pull/3/head
Tom Early 2 years ago
parent d58f5a2486
commit f9e67ce7e6

@ -119,7 +119,7 @@ void CCodecStream::Task(void)
if (g_TCServer.Accept()) // try to get a connection if (g_TCServer.Accept()) // try to get a connection
{ {
std::cerr << "Unrecoverable ERROR! Quiting..." << std::endl; std::cerr << "Unrecoverable ERROR! Quiting..." << std::endl;
exit(1); abort();
} }
// Either Accept timed out, or it's possile that other Transcoder ports were instead reopened // Either Accept timed out, or it's possile that other Transcoder ports were instead reopened
// So we'll check to see if this module is now open // So we'll check to see if this module is now open

@ -51,7 +51,7 @@ public:
if (q.empty()) if (q.empty())
{ {
std::cerr << "ERROR: CSavePacketQueue::Front() called, but queue is EMPTY!" << std::endl; std::cerr << "ERROR: CSavePacketQueue::Front() called, but queue is EMPTY!" << std::endl;
exit(1); abort();
} }
return q.front(); return q.front();
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.