Skip to content
New issue

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

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

Open
winsmith opened this issue Mar 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@winsmith
Copy link
Contributor

winsmith commented Mar 21, 2024

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.

@winsmith winsmith added the bug Something isn't working label Mar 21, 2024
@winsmith winsmith changed the title Signals not being sent in 1.5.1 Signals not being sent in when SignalManager.init called from a background queue Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant