Change-Id: I61344fb95eba06ec5b3a281bf09a3756edc6e460
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
if (disp_source->wl_vk_client) {
TPL_LOG_T(BACKEND, "wl_vk_client(%p) fini.", disp_source->wl_vk_client);
wayland_vulkan_destroy(disp_source->wl_vk_client);
+ disp_source->wl_vk_client = NULL;
+ }
+
+ if (disp_source->presentation) {
+ TPL_LOG_T(BACKEND, "wp_presentation(%p) fini.", disp_source->presentation);
+ wp_presentation_destroy(disp_source->presentation);
+ disp_source->presentation = NULL;
}
}