Index: /trunk/psLib/src/imageops/psImageConvolve.c
===================================================================
--- /trunk/psLib/src/imageops/psImageConvolve.c	(revision 19251)
+++ /trunk/psLib/src/imageops/psImageConvolve.c	(revision 19252)
@@ -7,6 +7,6 @@
 /// @author Eugene Magnier, IfA
 ///
-/// @version $Revision: 1.74 $ $Name: not supported by cvs2svn $
-/// @date $Date: 2008-08-14 03:22:13 $
+/// @version $Revision: 1.75 $ $Name: not supported by cvs2svn $
+/// @date $Date: 2008-08-28 03:10:37 $
 ///
 /// Copyright 2004-2007 Institute for Astronomy, University of Hawaii
@@ -950,5 +950,5 @@
     }
 
-    if (!psThreadPoolWait(true)) {
+    if (threaded && !psThreadPoolWait(true)) {
         psError(PS_ERR_UNKNOWN, false, "Error waiting for threads.");
         psFree(conv);
@@ -989,5 +989,5 @@
     }
 
-    if (!psThreadPoolWait(true)) {
+    if (threaded && !psThreadPoolWait(true)) {
         psError(PS_ERR_UNKNOWN, false, "Error waiting for threads.");
         psFree(conv);
