Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Fixed a race condition when it is starting commands execution. #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TiunovNN
Copy link

Closes #49

There are cases when the following error is occurred:

goroutine 68 [running]:
main.(*Server).amFiring.func3({0xc00006ea80, 0xc00007ac00})
  /app/server.go:245 +0x1c5
created by main.(*Server).amFiring
  /app/server.go:270 +0x4a7

The patch solves the issue with starting the closing goroutine after running commands

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

panic: send on closed channel
1 participant