Skip to content

Commit d5ad665

Browse files
committed
Merge pull request #522 from szczukot/master
[Satel Integra] Properly destroy hardware
2 parents 3c01f5b + fc7a109 commit d5ad665

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hardware/SatelIntegra.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ bool SatelIntegra::StopHardware()
137137
#endif
138138

139139
m_stoprequested = true;
140+
141+
if (m_thread)
142+
{
143+
m_thread->join();
144+
}
140145

141146
DestroySocket();
142147

0 commit comments

Comments
 (0)