From ce8f43df969038f5e24c7923abeac2c9fa6461e0 Mon Sep 17 00:00:00 2001 From: renatofilho Date: Tue, 26 Oct 2010 15:38:21 -0300 Subject: Release gil before call C++ function on virtual method. Fixes bug #423. Reviewer: Hugo Parente Lima Luciano Wolf --- libshiboken/gilstate.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libshiboken/gilstate.h') diff --git a/libshiboken/gilstate.h b/libshiboken/gilstate.h index efb3cb794..b2f33cb2c 100644 --- a/libshiboken/gilstate.h +++ b/libshiboken/gilstate.h @@ -34,6 +34,7 @@ class LIBSHIBOKEN_API GilState public: GilState(); ~GilState(); + void release(); private: PyGILState_STATE m_gstate; }; -- cgit v1.2.3