forked from joejulian/gio
ef652f4922
The Window creates the context, and should also be responsible for destroying it. As a bonus, the wrong release ordering of loop.renderLoop is fixed. Before this change, the context would be destroyed before the renderer got a chance to destroy its resources. Signed-off-by: Elias Naur <mail@eliasnaur.com>