зеркало из https://github.com/mozilla/gecko-dev.git
Bug 877087 - Clear mDsFile after the OPP connection is dropped, r=gyeh
This commit is contained in:
Родитель
9fe0c5b821
Коммит
fe8af01a74
|
@ -461,6 +461,7 @@ BluetoothOppManager::AfterOppDisconnected()
|
|||
mConnected = false;
|
||||
mLastCommand = 0;
|
||||
mPacketLeftLength = 0;
|
||||
mDsFile = nullptr;
|
||||
|
||||
ClearQueue();
|
||||
|
||||
|
@ -494,6 +495,7 @@ BluetoothOppManager::DeleteReceivedFile()
|
|||
|
||||
if (mDsFile && mDsFile->mFile) {
|
||||
mDsFile->mFile->Remove(false);
|
||||
mDsFile = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче