From 948847514311772cf1d0fd84ef8bebbac94c940f Mon Sep 17 00:00:00 2001 From: Aoi Nakane Date: Thu, 18 May 2023 17:28:22 +0900 Subject: [PATCH] [image_nodelet] change destroyWindow() to destroyAllWindows() --- image_view/src/nodelets/image_nodelet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_view/src/nodelets/image_nodelet.cpp b/image_view/src/nodelets/image_nodelet.cpp index d83ff2aec..680558ff5 100644 --- a/image_view/src/nodelets/image_nodelet.cpp +++ b/image_view/src/nodelets/image_nodelet.cpp @@ -306,7 +306,7 @@ void ImageNodelet::windowThread() { } - cv::destroyWindow(window_name_); + cv::destroyAllWindows(); pub_.shutdown();