]> git.saurik.com Git - wxWidgets.git/commitdiff
release the GIL before calling base version
authorRobin Dunn <robin@alldunn.com>
Thu, 14 Sep 2006 20:39:33 +0000 (20:39 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 14 Sep 2006 20:39:33 +0000 (20:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/include/wx/wxPython/wxPython_int.h

index 460631c1f4126162ca36aa3acd33d0a7936dbbe0..cfba4e7fdbdcad27eeaf0312b121b73fe49a3448 100644 (file)
@@ -1273,9 +1273,9 @@ extern wxPyApp *wxPythonApp;
                 Py_DECREF(ro);                                                  \
             }                                                                   \
         }                                                                       \
+        wxPyEndBlockThreads(blocked);                                           \
         if (! found)                                                            \
             rval = PCLASS::CBNAME(a);                                           \
-        wxPyEndBlockThreads(blocked);                                           \
         return rval;                                                            \
     }                                                                           \