diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-07-05 12:36:40 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-07-05 12:46:07 +0200 |
commit | 9e036ed903406f11d875bf73b459222b6b051a28 (patch) | |
tree | 8488b8bad151a1c237b6a4266d4527b8c2d1828c /gui/settings.hpp | |
parent | 63b7fc37dc2df96ccda2b3854fe18ab57b4296b3 (diff) |
tracker/easy: avoid race & crash on exit
cv::destroyWindow() can't be called along with `cv::imshow()' in
progress from another thread. Moreover, `cv::waitKey()' doesn't work
without any windows present.
Also check for preview enablement to avoid a crash in
`cv::destroyWindow()'.
Diffstat (limited to 'gui/settings.hpp')
0 files changed, 0 insertions, 0 deletions