From Cory Riddell, "I added a line to clear the threads vector prior to populating it in

Viewer::getAllThreads(). This is consistent with what happens in
Viewer::getOperationThreads()."
This commit is contained in:
Robert Osfield
2009-06-19 10:55:12 +00:00
parent 1523032d2b
commit 677256c724

View File

@@ -1004,6 +1004,8 @@ void Viewer::getViews(Views& views, bool onlyValid)
void Viewer::getAllThreads(Threads& threads, bool onlyActive)
{
threads.clear();
OperationThreads operationThreads;
getOperationThreads(operationThreads);