mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08: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:
parent
d68466bb6a
commit
9749afb116
@ -140,7 +140,6 @@ vector<Rect> get_annotations(Mat input_image)
|
||||
switch( key_pressed )
|
||||
{
|
||||
case 27:
|
||||
destroyWindow(window_name);
|
||||
stop = true;
|
||||
break;
|
||||
case 99:
|
||||
|
Loading…
Reference in New Issue
Block a user