Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

bitmap is already recycle error #15

Closed
parkwh opened this issue Dec 5, 2012 · 2 comments
Closed

bitmap is already recycle error #15

parkwh opened this issue Dec 5, 2012 · 2 comments
Labels
Milestone

Comments

@parkwh
Copy link

parkwh commented Dec 5, 2012

I'm not good at English

I will speak briefly.

I had to request the data from the web asynchronously.

And call method.

=> FlipViewController.setSelection()
=> Adapter.getView()
=> ImageManager.load()
=> OnImageLoaded => refreshPage()

[Working thread]

Thread1
=> (A) FlipViewController.setSelection() => ... => (B) ViewDualCards.buildTexture() => (C) Texture.createTexture() => (D) GLUtils.texSubImage2D(..., bitmap);

Thread2
(E) refreshPage() => (F) markForceReload() => (G) UI.recycleBitmap(screenshot);

(AC) => (EG) => (D) bitmap is already recycle error.

thanks

@openaphid
Copy link
Owner

Fixed in the develop branch

@parkwh
Copy link
Author

parkwh commented Dec 11, 2012

thx~

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants