Skip to content

Commit 3ea6760

Browse files
committed
delete
1 parent 9951960 commit 3ea6760

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

ws_wrapper/cmd/open_im_sdk_my.go

+3-5
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ package main
99
import (
1010
"flag"
1111
"fmt"
12-
"log"
13-
"net/http"
1412
"open_im_sdk/sdk_struct"
1513
"open_im_sdk/ws_wrapper/utils"
1614
"open_im_sdk/ws_wrapper/ws_local_server"
@@ -48,9 +46,9 @@ func main() {
4846
wg.Add(1)
4947
fmt.Println("ws server is starting")
5048
ws_local_server.WS.OnInit(*sdkWsPort)
51-
go func() {
52-
log.Println(http.ListenAndServe("0.0.0.0:6060", nil))
53-
}()
49+
//go func() {
50+
// log.Println(http.ListenAndServe("0.0.0.0:6060", nil))
51+
//}()
5452

5553
ws_local_server.WS.Run()
5654

ws_wrapper/cmd/open_im_sdk_server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"flag"
1111
"fmt"
1212
"net/http"
13-
_ "net/http/pprof"
13+
// _ "net/http/pprof"
1414
"open_im_sdk/sdk_struct"
1515
//"open_im_sdk/open_im_sdk"
1616
log1 "log"

0 commit comments

Comments
 (0)