This commit is contained in:
Stephen McQuay 2013-09-28 23:03:42 -07:00
parent bd4cb39828
commit e06f70aed6

View File

@ -85,9 +85,9 @@ func stopGame(w http.ResponseWriter, req *http.Request) {
func killServer(w http.ResponseWriter, req *http.Request) { func killServer(w http.ResponseWriter, req *http.Request) {
if *profile != "" { if *profile != "" {
log.Print("trying to stop cpu profile") log.Print("trying to stop cpu profile")
pprof.StopCPUProfile() pprof.StopCPUProfile()
log.Print("stopped cpu profile") log.Print("stopped cpu profile")
} }
log.Fatal("shit got fucked up") log.Fatal("shit got fucked up")
} }