Skip to content

Commit

Permalink
fix to hanging goroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
hex0punk committed Jun 27, 2023
1 parent 75a768d commit db92575
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions go/hanging-goroutine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ rules:
...
$Y = <- $CHANNEL
...
- pattern-inside: |
$CHANNEL := make(...)
- pattern-not-inside: |
$CHANNEL := make(..., $T)
...
- pattern-not-inside: |
...
Expand All @@ -150,6 +150,3 @@ rules:
<-$CHANNEL
...
}
- pattern-not-inside: |
$CHANNEL := make(..., $T)
...

0 comments on commit db92575

Please sign in to comment.