Skip to content
This repository was 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
TiunovNN wants to merge 2 commits intoimgix:masterfrom
TiunovNN:fix/issue-49-send-on-closed-channel
Open

Fixed a race condition when it is starting commands execution.#50
TiunovNN wants to merge 2 commits intoimgix:masterfrom
TiunovNN:fix/issue-49-send-on-closed-channel

Conversation

@TiunovNN
Copy link
Copy Markdown

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