1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Fix crash on exit in opencv_annotation

destroyWindow was called twice during completion of the
annotation procedure, resulting in a crash, and failure to write
an output file
This commit is contained in:
Ilya A. Volynets-Evenbakh
2018-03-14 09:40:45 -07:00
parent d68466bb6a
commit 9749afb116
-1
View File
@@ -140,7 +140,6 @@ vector<Rect> get_annotations(Mat input_image)
switch( key_pressed )
{
case 27:
destroyWindow(window_name);
stop = true;
break;
case 99: