* commit 'b901c9abff6b3885e1efce2e643b1f8e5ef3fc79': Fix a race condition in NativeDaemonConnector
This commit is contained in:
@ -97,11 +97,12 @@ final class NativeDaemonConnector implements Runnable {
|
||||
LocalSocketAddress.Namespace.RESERVED);
|
||||
|
||||
socket.connect(address);
|
||||
mCallbacks.onDaemonConnected();
|
||||
|
||||
InputStream inputStream = socket.getInputStream();
|
||||
mOutputStream = socket.getOutputStream();
|
||||
|
||||
mCallbacks.onDaemonConnected();
|
||||
|
||||
byte[] buffer = new byte[BUFFER_SIZE];
|
||||
int start = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user