Skip to content
  • Zhigang Gong's avatar
    glamor: Fixed one segfault bug when close screen. · 47b65312
    Zhigang Gong authored
    move the original glamor_fini to glamor_close_screen. And wrap the CloseScreen
    with glamor_close_screen, Then we can do some thing before call the underlying
    CloseScreen().
    The root cause is that glamor_fini will be called after the ->CloseScreen().
    This may trigger a segmentation fault at
    glamor_unrealize_glyph_caches() at calling into FreePicture().
    47b65312