opensciencemap / vtm

a vector-tile map library written in java - running on android, desktop and within the browser
GNU Lesser General Public License v3.0
238 stars 176 forks source link

TileCache leaks Cursor #94

Closed stleusc closed 10 years ago

stleusc commented 10 years ago

public synchronized TileReader getTile(Tile tile) runs a query for cached tiles. In case the cursor is empty because no cached tile is found the function just return. I think we should still close the cursor before the return null;

hjanetzek commented 10 years ago

Thanks! I think so too - fixed

stleusc commented 10 years ago

Fixed where? Already committed or in your local copy?

hjanetzek commented 10 years ago

it's commited

stleusc commented 10 years ago

sorry for asking, but the last commit to the master branch as a couple weeks old. When you say 'it's commited', can you give me the id of the change so I can track why I don't have it?

Thanks!

stleusc commented 10 years ago

Sorry, missed it. Never mind...