aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobo1on1 <bobo1on1@svn>2010-12-20 22:05:37 +0000
committerbobo1on1 <bobo1on1@svn>2010-12-20 22:05:37 +0000
commit5a891fe0eaf41df0281336a64b4423c678371553 (patch)
treeb5dc1758f508f77d920a9cf743bacd6a6b2934b4
parent40c72db327ef13e49ae3694cd92314663c415a95 (diff)
added: log line before stopping a python thread, this will provide useful info when one of the python threads is blocking on something
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35659 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/lib/libPython/XBPyThread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/lib/libPython/XBPyThread.cpp b/xbmc/lib/libPython/XBPyThread.cpp
index bff1872892..23fc7fe660 100644
--- a/xbmc/lib/libPython/XBPyThread.cpp
+++ b/xbmc/lib/libPython/XBPyThread.cpp
@@ -92,6 +92,7 @@ XBPyThread::~XBPyThread()
{
stop();
g_pythonParser.PulseGlobalEvent();
+ CLog::Log(LOGDEBUG,"waiting for python thread %d to stop", m_id);
StopThread();
CLog::Log(LOGDEBUG,"python thread %d destructed", m_id);
delete [] m_source;