diff options
| author | Karl Schultz <karl@lunarg.com> | 2017-06-20 11:27:59 -0600 |
|---|---|---|
| committer | Karl Schultz <karl@lunarg.com> | 2017-06-20 11:27:59 -0600 |
| commit | 8642911db6c4445dafb81002eecefeb46fd9ff58 (patch) | |
| tree | aa8507006852163128a298ef1700d15821f38be6 /layers/parameter_validation.cpp | |
| parent | 00399e334f7fe5766235a89ce885459ce26261f4 (diff) | |
| download | usermoji-8642911db6c4445dafb81002eecefeb46fd9ff58.tar.xz | |
demos: Destroy instance after closing Xlib connection
In the cube demos, destroy the instance after closing the
display system connection. It is possible for the driver to
register callback functions with a library like Xlib. If the
driver is unloaded when Xlib calls those callback functions,
a segfault results.
Fixes #1894
Change-Id: Ieb25a00f727c4ac05ff24b41c3582b293abf4b95
Diffstat (limited to 'layers/parameter_validation.cpp')
0 files changed, 0 insertions, 0 deletions
