Skip to content

Commit

Permalink
fix #521
Browse files Browse the repository at this point in the history
  • Loading branch information
ice0 committed Apr 18, 2018
1 parent 7846912 commit a162ef5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions synfig-core/src/synfig/importer.cpp
Expand Up @@ -148,11 +148,9 @@ Importer::~Importer()
{
// Remove ourselves from the open importer list
map<FileSystem::Identifier,Importer::LooseHandle>::iterator iter;
for(iter=__open_importers->begin();iter!=__open_importers->end();++iter)
for(iter=__open_importers->begin();iter!=__open_importers->end();)
if(iter->second==this)
{
__open_importers->erase(iter);
}
__open_importers->erase(iter++); else ++iter;
}

rendering::Surface::Handle
Expand Down

0 comments on commit a162ef5

Please sign in to comment.