aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/libshiboken/gilstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/libshiboken/gilstate.h')
-rw-r--r--sources/shiboken2/libshiboken/gilstate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/shiboken2/libshiboken/gilstate.h b/sources/shiboken2/libshiboken/gilstate.h
index d22f688ba..fbf39ead0 100644
--- a/sources/shiboken2/libshiboken/gilstate.h
+++ b/sources/shiboken2/libshiboken/gilstate.h
@@ -57,6 +57,7 @@ public:
GilState();
~GilState();
void release();
+ void abandon();
private:
PyGILState_STATE m_gstate;
bool m_locked = false;