Skip to content

Signals not being sent in when SignalManager.init called from a background queue #147

@winsmith

Description

@winsmith

Found an interesting issue in Swift Client 1.5.1: our signals did not get send from Simulator and debugging showed that the timer scheduled in SignalManager.swift:64 did not fire.

SignalManager.init was called from a background queue. Making the calling code a MainActor fixed it. Assumption is that the timer gets removed when the task on the queue finishes.

Did not further investigate but maybe you want to have a look.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions