You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And the threadPool close func has a problem in this scenario if the close func is called and the theaterPool is closed and thecase job := <-w.jobChannel:at the same time, the return select case may not be picked, so next for range will execute and the worker still can send to the worker channel, and it will panic.
//TODO: need to check the existing /running task before closing the threadpool
The text was updated successfully, but these errors were encountered: