forked from joejulian/gio
9126da41f4
If creating a GPU instance fails for some reason, we need to receive the incoming frame from the application before reporting the error in a DestroyEvent. If we don't, the a deadlock will occur where the app is waiting for FrameEvent.Frame to complete, while the Window waits for the app the receive a DestroyEvent. Signed-off-by: Elias Naur <mail@eliasnaur.com>