diff options
Diffstat (limited to 'externals/grill/py/source/pyext.cpp')
-rw-r--r-- | externals/grill/py/source/pyext.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/externals/grill/py/source/pyext.cpp b/externals/grill/py/source/pyext.cpp index de208aac..5a870d10 100644 --- a/externals/grill/py/source/pyext.cpp +++ b/externals/grill/py/source/pyext.cpp @@ -244,7 +244,9 @@ void pyext::DoExit() Py_DECREF(pyobj); // opposite of SetClssMeth } - if(gcrun) collect(); + if(gcrun && !collect()) { + post("%s - Unloading: Object is still referenced",thisName()); + } } void pyext::InitInOut(int &inl,int &outl) |