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

fix(backend) Fix potential send to closed channel from pingInterval #193

Merged
merged 1 commit into from
Feb 23, 2025

Conversation

joshzcold
Copy link
Owner

@joshzcold joshzcold commented Feb 21, 2025

  • fix(backend): share the client.stop channel in pingInterval so that pingInterval will stop when the client is stopped preventing a chance to send to a closed channel on the next ticker interval

  • fix(backend): Hub no longer closes client channels, because the client will still be open even if a user quits the game

  • test(game): add expect block around flaky button click

  • fix(make): remove deprecated npm install in e2e/ folder

Fixes: #191

- fix(backend): share the client.stop channel in pingInterval so that
  pingInterval will stop when the client is stopped preventing a chance
  to send to a closed channel on the next ticker interval

- fix(backend): Hub no longer closes client channels, because the client
  will still be open even if a user quits the game

-test(game): add expect block around flaky button click

- fix(make): remove deprecated `npm install` in e2e/ folder
@joshzcold joshzcold added the bug Something isn't working label Feb 21, 2025
@joshzcold joshzcold requested a review from karlromets February 21, 2025 15:57
@joshzcold joshzcold self-assigned this Feb 21, 2025
Copy link

Test Results

27 tests   27 ✅  58s ⏱️
 8 suites   0 💤
 1 files     0 ❌

Results for commit bdb60ff.

@joshzcold joshzcold merged commit 4e1d908 into master Feb 23, 2025
3 checks passed
@joshzcold joshzcold deleted the fix/pint_interval_panic_v2 branch February 23, 2025 14:55
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

Successfully merging this pull request may close these issues.

Ping Interval Panic: send on closed channel
2 participants