Skip to content

Data Race in PhoenixClient #13

@tonyatoms

Description

@tonyatoms

Xcode's Thread Sanitizer is warning about two data race issues in the Phoenix Client as included in the iOS knock-swift v 1.2.4:

  1. Data race in SwiftPhoenixClient.URLSessionTransport.readyState.setter : SwiftPhoenixClient.PhoenixTransportReadyState at 0x322563260

line 233 in PhoenixTransport.swift

  1. Data race in SwiftPhoenixClient.Socket.closeStatus.setter : SwiftPhoenixClient.Socket.CloseStatus at 0x31c710680

line 259 in Socket.swift

There is a newer version of the PhoenixClient available (5.35) but I'm not seeing anything in the Changelog there about these specific issues.

https://github.com/davidstump/SwiftPhoenixClient

Knock v 1.2.4
Xcode v 16.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions