summaryrefslogtreecommitdiffhomepage
path: root/variant
diff options
context:
space:
mode:
Diffstat (limited to 'variant')
-rw-r--r--variant/default/main-window.cpp1
-rw-r--r--variant/trackmouse/window.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp
index 11d3eb97..9deb48c4 100644
--- a/variant/default/main-window.cpp
+++ b/variant/default/main-window.cpp
@@ -339,6 +339,7 @@ main_window::~main_window()
if (work)
{
stop_tracker_();
+ close();
constexpr int inc = 100, max = 2000;
diff --git a/variant/trackmouse/window.cpp b/variant/trackmouse/window.cpp
index fc0c7419..d6c8a8dd 100644
--- a/variant/trackmouse/window.cpp
+++ b/variant/trackmouse/window.cpp
@@ -184,6 +184,7 @@ main_window::~main_window()
if (work)
{
stop_tracker_();
+ close();
constexpr int inc = 100, max = 2000;