summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-15 20:00:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-15 20:00:57 +0200
commitfc906d93916d04c81ae712e52045ed56c2788adc (patch)
tree24d05ee0358f83034e28227b14929429224f2682 /facetracknoir
parente5644bff6531717503c14b209041c1a7524e9998 (diff)
Simplify tracker API
No need to have a separate finalization function, can just as well sleep in the destructor.
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/global-settings.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/facetracknoir/global-settings.cpp b/facetracknoir/global-settings.cpp
index 4a655171..aa334463 100644
--- a/facetracknoir/global-settings.cpp
+++ b/facetracknoir/global-settings.cpp
@@ -9,13 +9,6 @@ SelectedLibraries* Libraries = NULL;
SelectedLibraries::~SelectedLibraries()
{
if (pTracker) {
- pTracker->WaitForExit();
- }
- if (pSecondTracker) {
- pSecondTracker->WaitForExit();
- }
-
- if (pTracker) {
delete pTracker;
pTracker = NULL;
}