Projects > cpp > Issues > Bug #2998

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

InputStream is not closed after failed texture load

Bug #2998 [Closed]
jwa_javatopia_com 2013-10-17 17:42 . Updated about 8 years ago

In the cc2dx android activity code, when a texture is loaded but fails (as in it was bigger than 2048 x 2048), the InputStream used to load the texture is not closed in the try/catch handler. ADT/Eclipse will issue a warning about this. The side effect here is that the app will not resume after background b/c it tries to reload that texture and can’t because the file is already open. 2014-10-08 02:59

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to

Atom PDF

Start date:2013-10-17
Due date:
% Done:


Target version:-