Commits

Ronald Oussoren committed 7d94537

Another crash due to failing to acquire the GIL

Comments (0)

Files changed (1)

pyobjc-core/Modules/objc/test/instanceVariables.m

 
 -(void)dealloc
 {
-	Py_XDECREF(pyValue);
+	PyObjC_BEGIN_WITH_GIL
+		Py_XDECREF(pyValue);
+	PyObjC_END_WITH_GIL
 	[objValue release];
 	[nilValue release];
 	[super dealloc];