gc:ModeChoiceMode
ResIterator close() fix