@lcampagn @almarklein I got rid of the `__del__` behavior in favor of this, which seems cleaner and works. Basically, if you close the widget, you set its context as done (detaching it) and then set it as invalid (the `context().reset()` call:

http://qt-project.org/doc/qt-4.8/qglwidget.html#context
http://qt-project.org/doc/qt-4.8/qglcontext.html#reset

This makes it so that the context can't be spookily re-activated after closing the widget. Note that the `destroy` workaround wasn't enough to fix this issue anymore on my system under Python3.4, but this works. (It also still works under 2.7.)