aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/source/py.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/py/source/py.cpp')
-rw-r--r--externals/grill/py/source/py.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/grill/py/source/py.cpp b/externals/grill/py/source/py.cpp
index 4690fb50..6883bfad 100644
--- a/externals/grill/py/source/py.cpp
+++ b/externals/grill/py/source/py.cpp
@@ -321,7 +321,7 @@ BL pyobj::work(const t_symbol *s,I argc,const t_atom *argv)
if(rargs) {
// call to outlet _outside_ the Mutex lock!
// otherwise (if not detached) deadlock will occur
- ToOutList(0,*rargs);
+ if(rargs->Count()) ToOutList(0,*rargs);
delete rargs;
}