mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 972265: Use connect delay in NFC IPC code, r=allstars.chh
When trying to re-connect a socket, the NFC IPC code now respects the delay that is suggested by the UnixSocketConsumer.
This commit is contained in:
parent
7faa5dbbe7
commit
21d22e285e
@ -344,7 +344,8 @@ NfcConsumer::OnDisconnect()
|
||||
{
|
||||
CHROMIUM_LOG("NFC: %s\n", __FUNCTION__);
|
||||
if (!mShutdown) {
|
||||
ConnectSocket(new NfcConnector(), mAddress.get(), 1000);
|
||||
ConnectSocket(new NfcConnector(), mAddress.get(),
|
||||
GetSuggestedConnectDelayMs());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user