glx: fix shutdown hang
Merge pull request #890 from degasus/glx

glx: fix shutdown hang