Ticket #1858: popupContainer_1.patch

File popupContainer_1.patch, 0.5 kB (added by ornus, 2 years ago)

patch to fix the problem. I failed to create consistent test case, but with this patch occasional problems I had dissapeared

  • PopupContainer.js

     
    369369        this.unRegisterAllWindows = function(){ 
    370370                // summary: remove listeners on all the registered windows 
    371371                for(var i=0;i<this.registeredWindows.length;++i){ 
    372                         this.unRegisterWin(this.registeredWindows[i]); 
     372                        try { 
     373                                this.unRegisterWin(this.registeredWindows[i]); 
     374                        } 
     375                        catch( e ){} 
    373376                } 
    374377                this.registeredWindows = []; 
    375378        };