mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 899949 - Failed to disconnect A2DP when turning off Bluetooth, r=echou
This commit is contained in:
parent
23fd930ee6
commit
00e2541d05
@ -1850,8 +1850,7 @@ BluetoothDBusService::SendSinkMessage(const nsAString& aDeviceAddress,
|
||||
{
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
MOZ_ASSERT(mConnection);
|
||||
|
||||
NS_ENSURE_TRUE(IsReady(), NS_ERROR_FAILURE);
|
||||
MOZ_ASSERT(IsEnabled());
|
||||
|
||||
SinkCallback callback;
|
||||
if (aMessage.EqualsLiteral("Connect")) {
|
||||
|
Loading…
Reference in New Issue
Block a user