mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Consider all InProgressProcesses when ascertaining which ones to remove
from the list, not every other one. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7741 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d6e9a80492
commit
9e4306d576
@ -1,3 +1,8 @@
|
||||
2003-09-14 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* PreviewLoader.C (remove): consider all InProgressProcesses when
|
||||
ascertaining which ones to remove from the list, not every other one.
|
||||
|
||||
2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
* GraphicsCacheItem.C: change Assert to BOOST_ASSERT
|
||||
|
@ -435,7 +435,7 @@ void PreviewLoader::Impl::remove(string const & latex_snippet)
|
||||
|
||||
std::for_each(ipit, ipend, EraseSnippet(latex_snippet));
|
||||
|
||||
for (; ipit != ipend; ++ipit) {
|
||||
while (ipit != ipend) {
|
||||
InProgressProcesses::iterator curr = ipit++;
|
||||
if (curr->second.snippets.empty())
|
||||
in_progress_.erase(curr);
|
||||
|
Loading…
Reference in New Issue
Block a user