Change c.Visit(u) call to blocking, from goroutine #102

Manually merged
sloum merged 1 commits from press-y-quickly into develop 2019-11-28 06:03:43 +00:00
Collaborator

Fixes #101

Call to c.Visit(u) reverted to a blocking call, from calling it as a goroutine (i.e. 'go c.Visit(u)).

When both c.Visit() and c.TakeControlInput() are run as goroutines, a situation can occur where both c.TakeControlInput() and c.handleGemini() will try to get keyboard input at the same time. This can result in the client not responding to keyboard input.

This change may be temporary, as it could have an effect on performance.

Fixes #101 Call to c.Visit(u) reverted to a blocking call, from calling it as a goroutine (i.e. 'go c.Visit(u)). When both c.Visit() and c.TakeControlInput() are run as goroutines, a situation can occur where both c.TakeControlInput() and c.handleGemini() will try to get keyboard input at the same time. This can result in the client not responding to keyboard input. This change may be temporary, as it could have an effect on performance.
asdf added the
bug
label 2019-11-27 08:34:55 +00:00
Owner

Looks good to me! Merging in.

Looks good to me! Merging in.
sloum closed this pull request 2019-11-28 06:03:42 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sloum/bombadillo#102
No description provided.