summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/hardwareintegration/qwaylandserverbufferintegrationplugin.cpp
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-12-06 19:57:39 +0200
committerGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-12-06 22:56:12 +0100
commitd2e278e4e2a155a74ca6f3e072bc53eb05bda5f7 (patch)
tree0b935f2fffd3ad4e4ab43634de53ff10a2c553c8 /src/plugins/platforms/wayland/hardwareintegration/qwaylandserverbufferintegrationplugin.cpp
parentc9909b7ce9f307583b209e3d6fdecd2d211dff1b (diff)
Fix possible double free when hiding a window
There was a race condition between the gui and the wayland event thread which could lead to double freeing the QWaylandShmBackingStore's frame callback. Protect the wl_callback_destroy calls using a mutex. Change-Id: Ia70ebac208a6d4450328ba5254a850be26d84d6d Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/wayland/hardwareintegration/qwaylandserverbufferintegrationplugin.cpp')
0 files changed, 0 insertions, 0 deletions