Skip to content

Commit

Permalink
Merge pull request #289 from skycoin/bug/remove-internal-ack
Browse files Browse the repository at this point in the history
[WIP] removed internal/ack
  • Loading branch information
ivcosla authored Apr 24, 2019
2 parents 18eed39 + 36a6fae commit 26f04ac
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 451 deletions.
2 changes: 1 addition & 1 deletion cmd/apps/chat/chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ func sseHandler(w http.ResponseWriter, req *http.Request) {
}

clientChan = make(chan string)

go func() {
<-req.Context().Done()
close(clientChan)
clientChan = nil
log.Println("SSE connection were closed.")
}()

Expand Down
269 changes: 0 additions & 269 deletions internal/ioutil/ack.go

This file was deleted.

Loading

0 comments on commit 26f04ac

Please sign in to comment.