Commits

Ronald Oussoren  committed 7d94537

Another crash due to failing to acquire the GIL

  • Participants
  • Parent commits 4415ced

Comments (0)

Files changed (1)

File 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];