Skip to content

Commit

Permalink
Remove profile stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiandongx committed Dec 4, 2021
1 parent 2fda66b commit 60a790d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sniffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@ package main

import (
"fmt"
"log"
"net/http"
"os"
"time"

"github.com/gizak/termui/v3"
_ "net/http/pprof"
)

func exit(s string) {
Expand Down Expand Up @@ -101,9 +98,6 @@ func (s *Sniffer) SwitchViewMode() {
}

func (s *Sniffer) Start() {
go func() {
log.Println(http.ListenAndServe("localhost:6060", nil))
}()
events := termui.PollEvents()
s.Refresh()
var paused bool
Expand Down

0 comments on commit 60a790d

Please sign in to comment.