[Zodb-checkins] CVS: Zope/lib/python/ZODB - cPersistence.c:1.50.14.2
Toby Dickenson
tdickenson@geminidataloggers.com
Fri, 15 Mar 2002 11:00:43 -0500
Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv30826
Modified Files:
Tag: toby-stiff-cache-branch
cPersistence.c
Log Message:
removed race condition on deactivation
=== Zope/lib/python/ZODB/cPersistence.c 1.50.14.1 => 1.50.14.2 ===
if (v) { ASSIGN(v, PyObject_CallObject(v, NULL)); }
if (v) { Py_DECREF(v); }
- self->state=cPersistent_GHOST_STATE; /* is this assignment redundant ; deactivate() will do it too? */
return 0;
}
if (PyObject_IsTrue(v)) return changed(self);