According to Bug #3527653 this change should make the code a bit more stable, the question is where the next problem occurs...

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1894 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-05-22 05:09:00 +00:00
commit 8c319fe0e4

View file

@ -209,8 +209,8 @@ namespace Greenshot.Helpers.IEInterop {
}
IHTMLFramesCollection2 frameCollection = (IHTMLFramesCollection2)document2.frames;
for(int frame = 0; frame < frameCollection.length; frame++) {
IHTMLWindow2 frameWindow = frameCollection.item(frame);
try {
IHTMLWindow2 frameWindow = frameCollection.item(frame);
DocumentContainer frameData = new DocumentContainer(frameWindow, contentWindow, this);
// check if frame is hidden
if (!frameData.isHidden) {