projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1326f0
)
fixed: we always need to release the python thread state when we do anything locking...
author
spiff
<spiff@xbmc.org>
Thu, 22 Dec 2011 14:10:45 +0000
(15:10 +0100)
committer
spiff
<spiff@xbmc.org>
Thu, 22 Dec 2011 14:10:45 +0000
(15:10 +0100)
xbmc/interfaces/python/XBPyThread.cpp
patch
|
blob
|
history
diff --git
a/xbmc/interfaces/python/XBPyThread.cpp
b/xbmc/interfaces/python/XBPyThread.cpp
index
fac009f
..
c9f0a12
100644
(file)
--- a/
xbmc/interfaces/python/XBPyThread.cpp
+++ b/
xbmc/interfaces/python/XBPyThread.cpp
@@
-317,6
+317,7
@@
void XBPyThread::Process()
CLog::Log(LOGINFO, "<unknown exception type>");
}
+ PYXBMC::PyXBMCGUILock();
CGUIDialogKaiToast *pDlgToast = (CGUIDialogKaiToast*)g_windowManager.GetWindow(WINDOW_DIALOG_KAI_TOAST);
if (pDlgToast)
{
@@
-334,6
+335,7
@@
void XBPyThread::Process()
desc.Format(g_localizeStrings.Get(2100), script);
pDlgToast->QueueNotification(CGUIDialogKaiToast::Error, g_localizeStrings.Get(257), desc);
}
+ PYXBMC::PyXBMCGUIUnlock();
}
Py_XDECREF(exc_type);