Deleting unused static textures leads to crash #1371
Labels
platform: Linux
Linux specific issue
priority: high
high priority
state: pending
not addressed yet
type: bug
bug
Version of Dear PyGui
Version: 1.0.2
Operating System: Ubuntu 20.04
My Issue/Question
I'd like to delete unused static textures. However, calling
dpg.delete_item(texture_id)
systematically crashes the app.Maybe there is another, better, way of deleting textures I'm not aware of?
Or maybe they're supposed to be freed automatically when the reference count == 0? But in that case, I would expect them to disappear from the registry inspector.
To Reproduce
Run the code bellow and click on the button.
Expected behavior
I would expect
Standalone, minimal, complete and verifiable example
The text was updated successfully, but these errors were encountered: