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
For stop words, valid format is : one stop word in each line.
Extra spaces followed stop word may cause error, and will be sent to errCh (unbuffered channel). Refers to dictionary.go#L38.
But dictionary.go#L68 still waits for tokenCh, therefore dictionary.go#L70 can not receive from errCh, finally DeadLock occurs.
For stop words, valid format is : one stop word in each line.
Extra spaces followed stop word may cause error, and will be sent to
errCh
(unbuffered channel). Refers to dictionary.go#L38.But dictionary.go#L68 still waits for
tokenCh
, therefore dictionary.go#L70 can not receive fromerrCh
, finally DeadLock occurs.There is the same problem, if error(dictionary.go#L49 ) occurs.
The text was updated successfully, but these errors were encountered: