Skip to content

Commit

Permalink
Small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
barisbll committed Sep 30, 2023
1 parent 72d1603 commit f382435
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.vscode
TODO
.vscode
1 change: 0 additions & 1 deletion TODO

This file was deleted.

2 changes: 0 additions & 2 deletions hero.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ func (h *Hero) addBomb(s tcell.Screen, style tcell.Style, clickedX, clickedY int

bomb.draw(s, style, ticker, bombExploded, explosionComplete, &explosionWaitGroup)

// TODO: use the waitGroups to be sure that each goroutine are not leaking

go func() {
for {
<-bombExploded
Expand Down

0 comments on commit f382435

Please sign in to comment.