Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
add sigcont before calling crayfish
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jan 5, 2022
1 parent 4676815 commit a9883b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crayfish/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ func (c *Conn) sendAck() error {

// write writes a message with the given message type and payload.
func (c *Conn) write(mt int, payload []byte) error {
Instance.cmd.Process.Signal(syscall.SIGCONT)
c.ws.SetWriteDeadline(time.Now().Add(writeWait))
return c.ws.WriteMessage(mt, payload)
}
Expand Down

0 comments on commit a9883b7

Please sign in to comment.