summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-05-25 15:52:04 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-05-25 15:52:04 +0000
commit181c5487cc5abbd21b0a8352a507aae4504c683c (patch)
treeaa51472391def0898d538475db0d6272a36f065b
parentd43534acfc3e0e094671485b9ddffec77d1ef6ec (diff)
downloadvdr-plugin-live-181c5487cc5abbd21b0a8352a507aae4504c683c.tar.gz
vdr-plugin-live-181c5487cc5abbd21b0a8352a507aae4504c683c.tar.bz2
- added emergency exit in case the httpd port is blocked
-rw-r--r--thread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread.cpp b/thread.cpp
index c0abfb7..37040b9 100644
--- a/thread.cpp
+++ b/thread.cpp
@@ -54,6 +54,7 @@ void ServerThread::Action()
// XXX move initial error handling to live.cpp
esyslog( "ERROR: live httpd server crashed: %s", ex.what() );
cerr << "HTTPD FATAL ERROR: " << ex.what() << endl;
+ cThread::EmergencyExit(true);
}
}