> virtual ~event_t_wrapper(){ > if (this->m_pyobj) { > //Py_DECREF(this->m_pyobj); > this->m_pyobj = 0; > } > } > Many thanks for the solution - it appears to be working just fine. However I'm wondering why the Py_DECREF line above is commented out? Thanks again, Mark