FlorianRhiem / pyGLFW

Python bindings for GLFW
MIT License
232 stars 36 forks source link

destroy_window assumes callbacks are present #2

Closed fogleman closed 10 years ago

fogleman commented 10 years ago

I'm getting a KeyError on this line:

https://github.com/FlorianRhiem/pyGLFW/blob/master/glfw.py#L809

This assumes that all windows are in all callback repositories, which I guess isn't necessarily true.

fogleman commented 10 years ago

I created a pull request for this.

FlorianRhiem commented 10 years ago

Thank you and sorry for the long delay. I merged the pull request.