diff --git a/reflector/CodecStream.cpp b/reflector/CodecStream.cpp index 27643ba..27ae286 100644 --- a/reflector/CodecStream.cpp +++ b/reflector/CodecStream.cpp @@ -119,7 +119,7 @@ void CCodecStream::Task(void) if (g_TCServer.Accept()) // try to get a connection { 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 // So we'll check to see if this module is now open diff --git a/reflector/SafePacketQueue.h b/reflector/SafePacketQueue.h index 6c5635e..f1a8bf5 100644 --- a/reflector/SafePacketQueue.h +++ b/reflector/SafePacketQueue.h @@ -51,7 +51,7 @@ public: if (q.empty()) { std::cerr << "ERROR: CSavePacketQueue::Front() called, but queue is EMPTY!" << std::endl; - exit(1); + abort(); } return q.front(); }