Mercurial > hg > vampy-host
changeset 115:899095c8760f
Commented-out debug
author | Chris Cannam |
---|---|
date | Wed, 17 Jun 2015 13:03:37 +0100 |
parents | 7f03d095a8b1 |
children | 3489986a044c 2370b942cd32 |
files | native/PyPluginObject.cpp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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