We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This test consistently reproduces the @datwelk's issue:
func testThatDeadlockDoesNotHappen() { let didStop = expectation(description: "connection stopped") let hubConnectionDelegate = TestHubConnectionDelegate() hubConnectionDelegate.connectionDidCloseHandler = { error in XCTAssertNil(error) didStop.fulfill() } let hubConnection = HubConnectionBuilder(url: URL(string: "\(BASE_URL)/testhub")!) .withLogging(minLogLevel: .debug) .withHubConnectionDelegate(delegate: hubConnectionDelegate) .withHttpConnectionOptions(configureHttpOptions: {options in options.skipNegotiation = true }) .build() hubConnection.start() hubConnection.stop() waitForExpectations(timeout: 5 /*seconds*/) }
stop is blocked on waiting for start to complete:
stop
SignalR-Client-Swift/Sources/SignalRClient/HttpConnection.swift
Line 203 in 3ea5fae
start cannot complete because neither of open, error, close events were fired because they want to by default run on the main thread as per:
start
SignalR-Client-Swift/Sources/SignalRClient/WebSocket.swift
Line 1733 in 3ea5fae
The text was updated successfully, but these errors were encountered:
a49a2ec
No branches or pull requests
This test consistently reproduces the @datwelk's issue:
stop
is blocked on waiting for start to complete:SignalR-Client-Swift/Sources/SignalRClient/HttpConnection.swift
Line 203 in 3ea5fae
start
cannot complete because neither of open, error, close events were fired because they want to by default run on the main thread as per:SignalR-Client-Swift/Sources/SignalRClient/WebSocket.swift
Line 1733 in 3ea5fae
The text was updated successfully, but these errors were encountered: