Skip to content

Commit

Permalink
SDL-1053 Add termination process for device scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
Junya NAKATA committed Apr 18, 2017
1 parent 2f03db7 commit a06db5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ IAPDeviceScanner::IAPDeviceScanner(TransportAdapterController *controller) :
}

IAPDeviceScanner::~IAPDeviceScanner() {
threads::DeleteThread(thread_);
}

TransportAdapter::Error IAPDeviceScanner::Init() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ SPPDeviceScanner::SPPDeviceScanner(
}

SPPDeviceScanner::~SPPDeviceScanner() {
threads::DeleteThread(thread_);
}

bool SPPDeviceScanner::IsInitialised() const {
Expand Down

0 comments on commit a06db5a

Please # to comment.