<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -79,12 +79,15 @@ public:
 		return pInfo-&gt;GetProgress(piIx, piAll);
 	}
 
+	// (lasse) This used to be a protected method. Don't use unless you're sure you know why you need it!
+	void DeleteList();
+
 protected:
 
 
 	CMutex mMutex;
 
-	void DeleteList();
+	//void DeleteList();
 
 	tbool IsInProgress_NoLock()
 	{</diff>
      <filename>Products/Koblo_Studio/trunk/include/Track_View/Progress/CProgressTaskList.h</filename>
    </modified>
    <modified>
      <diff>@@ -4611,8 +4611,17 @@ void CKSApplication::AbortProgressTasks_NoLock(tbool bNoDialogBoxOnAbort /*= fal
 
 			}
 		}
+		else {
+			// (lasse) last fix of weird behaviour - it seems to work
+			if (mpProgressTasks-&gt;IsInProgress()) {
+				// We're &quot;done&quot; but queue isn't empty - what's going on?!?
+				// Try to clean up
+				mpProgressTasks-&gt;DeleteList();
+			}
+		}
 
 		// Mark as stopped
+		// (lasse) Why did you comment these out Max?
 		//delete mpTimer_ProgressTasks;
 		//mpTimer_ProgressTasks = NULL;
 	}</diff>
      <filename>Products/Koblo_Studio/trunk/source/CKSApplication.cpp</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5c7a480bf56b58b3825bccd5a36ef02f8e12e947</id>
    </parent>
  </parents>
  <author>
    <name>lsbohnstedt</name>
    <email>lsbohnstedt@koblo.com</email>
  </author>
  <url>http://github.com/koblo/koblo_software/commit/6616814b945d83968529129dfef52d07b43029de</url>
  <id>6616814b945d83968529129dfef52d07b43029de</id>
  <committed-date>2009-02-27T06:32:16-08:00</committed-date>
  <authored-date>2009-02-27T06:32:16-08:00</authored-date>
  <message>KS, CProgressTaskList: Fix; now failing a task won't prevent new tasks from being started afterwards</message>
  <tree>ec167e1a61503cd3ed0fafca1c29675f8c9d760c</tree>
  <committer>
    <name>lsbohnstedt</name>
    <email>lsbohnstedt@koblo.com</email>
  </committer>
</commit>
