Unregister tile change listeners
Unregister tile change listeners

When the tile queue loads a tile it registers a "change" listener on that tile. But currently that listener is not unregistered, unless the tile cache containing that tile fills up and "dipose" is called on that tile.

This commit makes handleTileChange deregister the "change" listener on the tile, if the tile is now in "loaded" state.

tamarmot/ol3,tamarmot/ol3,bill-chadwick/ol3,thhomas/ol3,alvinlindstam/ol3,CandoImage/ol3,kkuunnddaannkk/ol3,gingerik/ol3,ahocevar/openlayers,Andrey-Pavlov/ol3,thomasmoelhave/ol3,bogdanvaduva/ol3,fperucic/ol3,thomasmoelhave/ol3,CandoImage/ol3,stweil/openlayers,klokantech/ol3raster,xiaoqqchen/ol3,openlayers/openlayers,landonb/ol3,Morgul/ol3,planetlabs/ol3,bogdanvaduva/ol3,epointal/ol3,hafenr/ol3,Morgul/ol3,klokantech/ol3,mzur/ol3,alvinlindstam/ol3,stweil/ol3,alexbrault/ol3,aisaacs/ol3,bartvde/ol3,geekdenz/ol3,landonb/ol3,geonux/ol3,fredj/ol3,stweil/ol3,fredj/ol3,bogdanvaduva/ol3,das-peter/ol3,Morgul/ol3,tschaub/ol3,itayod/ol3,denilsonsa/ol3,kjelderg/ol3,gingerik/ol3,NOAA-ORR-ERD/ol3,geekdenz/openlayers,planetlabs/ol3,itayod/ol3,mzur/ol3,tschaub/ol3,denilsonsa/ol3,fblackburn/ol3,mzur/ol3,freylis/ol3,antonio83moura/ol3,geonux/ol3,gingerik/ol3,antonio83moura/ol3,itayod/ol3,thhomas/ol3,freylis/ol3,jacmendt/ol3,ahocevar/openlayers,klokantech/ol3,gingerik/ol3,alexbrault/ol3,llambanna/ol3,itayod/ol3,kkuunnddaannkk/ol3,klokantech/ol3,llambanna/ol3,fredj/ol3,aisaacs/ol3,aisaacs/ol3,wlerner/ol3,hafenr/ol3,Distem/ol3,ahocevar/openlayers,bill-chadwick/ol3,fblackburn/ol3,stweil/openlayers,antonio83moura/ol3,antonio83moura/ol3,tamarmot/ol3,planetlabs/ol3,Distem/ol3,das-peter/ol3,klokantech/ol3raster,alvinlindstam/ol3,epointal/ol3,das-peter/ol3,bjornharrtell/ol3,alexbrault/ol3,freylis/ol3,fperucic/ol3,t27/ol3,geekdenz/ol3,t27/ol3,llambanna/ol3,landonb/ol3,wlerner/ol3,NOAA-ORR-ERD/ol3,fblackburn/ol3,kjelderg/ol3,pmlrsg/ol3,aisaacs/ol3,kkuunnddaannkk/ol3,Antreasgr/ol3,geonux/ol3,t27/ol3,CandoImage/ol3,CandoImage/ol3,Distem/ol3,hafenr/ol3,bjornharrtell/ol3,xiaoqqchen/ol3,thhomas/ol3,tamarmot/ol3,oterral/ol3,Antreasgr/ol3,klokantech/ol3raster,bartvde/ol3,stweil/ol3,stweil/openlayers,geekdenz/ol3,bill-chadwick/ol3,bogdanvaduva/ol3,kkuunnddaannkk/ol3,kjelderg/ol3,ahocevar/ol3,xiaoqqchen/ol3,t27/ol3,Andrey-Pavlov/ol3,geekdenz/openlayers,ahocevar/ol3,fblackburn/ol3,Morgul/ol3,wlerner/ol3,mzur/ol3,geekdenz/openlayers,hafenr/ol3,kjelderg/ol3,oterral/ol3,jacmendt/ol3,bartvde/ol3,Antreasgr/ol3,xiaoqqchen/ol3,adube/ol3,ahocevar/ol3,jacmendt/ol3,pmlrsg/ol3,jacmendt/ol3,pmlrsg/ol3,das-peter/ol3,denilsonsa/ol3,adube/ol3,denilsonsa/ol3,ahocevar/ol3,pmlrsg/ol3,oterral/ol3,thomasmoelhave/ol3,openlayers/openlayers,thomasmoelhave/ol3,NOAA-ORR-ERD/ol3,epointal/ol3,tschaub/ol3,Distem/ol3,bartvde/ol3,Andrey-Pavlov/ol3,openlayers/openlayers,landonb/ol3,tschaub/ol3,Antreasgr/ol3,bjornharrtell/ol3,stweil/ol3,thhomas/ol3,alexbrault/ol3,geekdenz/ol3,freylis/ol3,epointal/ol3,Andrey-Pavlov/ol3,llambanna/ol3,fperucic/ol3,fredj/ol3,adube/ol3,alvinlindstam/ol3,bill-chadwick/ol3,NOAA-ORR-ERD/ol3,klokantech/ol3,geonux/ol3,planetlabs/ol3,klokantech/ol3raster,fperucic/ol3,wlerner/ol3