summaryrefslogtreecommitdiffhomepage
path: root/proto-ft
diff options
context:
space:
mode:
Diffstat (limited to 'proto-ft')
-rw-r--r--proto-ft/ftnoir_protocol_ft.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp
index 252819bd..69a3c23f 100644
--- a/proto-ft/ftnoir_protocol_ft.cpp
+++ b/proto-ft/ftnoir_protocol_ft.cpp
@@ -26,7 +26,15 @@ freetrack::~freetrack()
settings_ft.setValue("Path", "");
settings_npclient.setValue("Path", "");
+
+ if (dummyTrackIR.state() == dummyTrackIR.Running)
+ {
+ dummyTrackIR.kill();
+ dummyTrackIR.waitForFinished(100);
+ }
}
+ else
+ dummyTrackIR.close();
}
static_assert(sizeof(LONG) == sizeof(std::int32_t));