Partly reverted 2010-06-27T19:01:17Z!guillaume.melquiond@gmail.com...
...as it causes glitches when using :refresh.
This commit is contained in:
parent
5437b5e926
commit
4f108af8b0
1 changed files with 4 additions and 1 deletions
|
@ -171,7 +171,10 @@ void flush_cache()
|
|||
reversed_images_.clear();
|
||||
image_existence_map.clear();
|
||||
precached_dirs.clear();
|
||||
last_index_ = 0;
|
||||
/* We can't reset last_index_, since some locators are still alive
|
||||
when using :refresh. That would cause them to point to the wrong
|
||||
images. Not resetting the variable causes a memory leak, though. */
|
||||
// last_index_ = 0;
|
||||
}
|
||||
|
||||
void locator::init_index()
|
||||
|
|
Loading…
Add table
Reference in a new issue