Fix thread crash in mtpdevice
This commit is contained in:
parent
83d3725240
commit
dcf0d6f72d
@ -88,6 +88,7 @@ void MtpDevice::ConnectAsync() {
|
||||
|
||||
void MtpDevice::LoadFinished(bool success) {
|
||||
|
||||
loader_thread_->exit();
|
||||
loader_->deleteLater();
|
||||
loader_ = nullptr;
|
||||
db_busy_.unlock();
|
||||
|
Loading…
x
Reference in New Issue
Block a user