*** empty log message ***

svn path=/trunk/boinc/; revision=5009
This commit is contained in:
Rom Walton 2005-01-06 22:57:28 +00:00
parent a577eacf7e
commit 30317e0ffd
2 changed files with 9 additions and 4 deletions

View File

@ -22130,6 +22130,10 @@ Rom 6 Jan 2005
framework to do this, but the call to wxProcess::Exists causes
an assert on Windows if the process doesn't exist. And sometimes
crashes in a release build.
- Bug Fix: When syncing the views cache make sure there is at least
one item to syncronize, otherwise we'll reference a NULL pointer
and blow up. This fixes the crashing bug when you startup and
shutdown the core client in the background.
client/win/
wingui_mainwindow.cpp

View File

@ -229,14 +229,15 @@ void CBOINCBaseView::OnListRender ( wxTimerEvent& event )
}
}
m_pListPane->SetItemCount(iDocCount);
m_pListPane->SetItemCount( iDocCount );
}
}
SyncronizeCache();
if ( iCacheCount )
SyncronizeCache();
if (EnsureLastItemVisible())
m_pListPane->EnsureVisible(iDocCount);
if ( EnsureLastItemVisible() )
m_pListPane->EnsureVisible( iDocCount );
m_bProcessingListRenderEvent = false;
}