We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
func onError() { ... e.waitCh <- &drivers.ExitResult }
waitCh is defined as
func newDtleTaskHandle() { waitCh: make(chan *drivers.ExitResult, 1), }
and read only once
func handleWait() { case result := <-handle.waitCh: }
A concurrent call to onError might block on waitCh forever.
onError
The text was updated successfully, but these errors were encountered:
nomad job stop
目前两者都调用了handle.Destroy(), 待review。
Sorry, something went wrong.
write waitCh only once #1021
c1bf0af
No branches or pull requests
waitCh is defined as
and read only once
A concurrent call to
onError
might block on waitCh forever.The text was updated successfully, but these errors were encountered: