Skip to content

Commit

Permalink
delete
Browse files Browse the repository at this point in the history
  • Loading branch information
skiffer-git committed Mar 25, 2022
1 parent 9951960 commit 3ea6760
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions ws_wrapper/cmd/open_im_sdk_my.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ package main
import (
"flag"
"fmt"
"log"
"net/http"
"open_im_sdk/sdk_struct"
"open_im_sdk/ws_wrapper/utils"
"open_im_sdk/ws_wrapper/ws_local_server"
Expand Down Expand Up @@ -48,9 +46,9 @@ func main() {
wg.Add(1)
fmt.Println("ws server is starting")
ws_local_server.WS.OnInit(*sdkWsPort)
go func() {
log.Println(http.ListenAndServe("0.0.0.0:6060", nil))
}()
//go func() {
// log.Println(http.ListenAndServe("0.0.0.0:6060", nil))
//}()

ws_local_server.WS.Run()

Expand Down
2 changes: 1 addition & 1 deletion ws_wrapper/cmd/open_im_sdk_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"flag"
"fmt"
"net/http"
_ "net/http/pprof"
// _ "net/http/pprof"
"open_im_sdk/sdk_struct"
//"open_im_sdk/open_im_sdk"
log1 "log"
Expand Down

0 comments on commit 3ea6760

Please sign in to comment.