Cancel device enumeration when app is stopped
This commit is contained in:
parent
28cff9c53b
commit
c4e4192cf8
@ -53,6 +53,7 @@ void USBApp::stop()
|
||||
{
|
||||
strand_.dispatch([this, self = this->shared_from_this()]() {
|
||||
isStopped_ = true;
|
||||
connectedAccessoriesEnumerator_->cancel();
|
||||
usbHub_->cancel();
|
||||
|
||||
if(androidAutoEntity_ != nullptr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user