Added comments related to PR42 to additional lines of code where the same thing will occur.

This commit is contained in:
Bill Abt
2016-12-09 15:16:19 -05:00
parent 7f30387ec5
commit acf026175b
+10 -1
View File
@@ -1312,7 +1312,7 @@ public class Socket: SocketReader, SocketWriter {
continue
}
//Note: if you're running tests inside Xcode and the tests stop on this line
// Note: if you're running tests inside Xcode and the tests stop on this line
// and the tests fail, but they work if you run `swift test` on the
// command line, Hit `Deactivate Breakpoints` in Xcode and try again
throw Error(code: Socket.SOCKET_ERR_ACCEPT_FAILED, reason: self.lastError())
@@ -1339,6 +1339,9 @@ public class Socket: SocketReader, SocketWriter {
continue
}
// Note: if you're running tests inside Xcode and the tests stop on this line
// and the tests fail, but they work if you run `swift test` on the
// command line, Hit `Deactivate Breakpoints` in Xcode and try again
throw Error(code: Socket.SOCKET_ERR_ACCEPT_FAILED, reason: self.lastError())
}
socketfd2 = fd
@@ -1449,6 +1452,9 @@ public class Socket: SocketReader, SocketWriter {
continue
}
// Note: if you're running tests inside Xcode and the tests stop on this line
// and the tests fail, but they work if you run `swift test` on the
// command line, Hit `Deactivate Breakpoints` in Xcode and try again
throw Error(code: Socket.SOCKET_ERR_ACCEPT_FAILED, reason: self.lastError())
}
socketfd2 = fd
@@ -1473,6 +1479,9 @@ public class Socket: SocketReader, SocketWriter {
continue
}
// Note: if you're running tests inside Xcode and the tests stop on this line
// and the tests fail, but they work if you run `swift test` on the
// command line, Hit `Deactivate Breakpoints` in Xcode and try again
throw Error(code: Socket.SOCKET_ERR_ACCEPT_FAILED, reason: self.lastError())
}
socketfd2 = fd