[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#235668: Returning false from pkgAcquireStatus::Pulse does not cleanly shut down a download.



On Mon, 1 Mar 2004, Matt Zimmerman wrote:

> It's the Shutdown() bit that ends up spewing these errors, right?  So before
> doing that, we need to go through the items and set their status to
> StatError or something?

Yes, when it deletes the items in the queue the destructor calls Dequeue
which produces the message. Since this isn't threaded I think you can
just add a line in that loop in shutdown to put the state of each item to
done before dequeing it.

Jason




Reply to: