Mercurial > hg > vampy-host
diff native/PyPluginObject.cpp @ 115:899095c8760f
Commented-out debug
author | Chris Cannam |
---|---|
date | Wed, 17 Jun 2015 13:03:37 +0100 |
parents | 9343eee50605 |
children | 2370b942cd32 |
line wrap: on
line diff
--- a/native/PyPluginObject.cpp Wed Jun 17 12:43:18 2015 +0100 +++ b/native/PyPluginObject.cpp Wed Jun 17 13:03:37 2015 +0100 @@ -166,6 +166,8 @@ static void PyPluginObject_dealloc(PyPluginObject *self) { +// cerr << "PyPluginObject_dealloc: plugin object " << self << ", plugin " << self->plugin << endl; + delete self->plugin; PyObject_Del(self); } @@ -704,6 +706,8 @@ PyPluginObject *pd = getPluginObject(self); if (!pd) return 0; +// cerr << "unload: unloading plugin object " << pd << ", plugin " << pd->plugin << endl; + delete pd->plugin; pd->plugin = 0; // This is checked by getPluginObject, so we avoid // blowing up if called repeatedly