Skip to content

Commit 6af37bc

Browse files
committed
remove redundant close
1 parent fc70187 commit 6af37bc

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

pkg/portforward/portforward.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ func NewCommand() *cobra.Command {
258258
go func() {
259259
<-sigchan
260260
wg.Done()
261-
listener.Close()
262261
}()
263262
wg.Wait()
264263
fmt.Println("Stopping watcher...")

0 commit comments

Comments
 (0)