mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-10-04 16:02:43 +08:00
Fix known goroutines
This commit is contained in:
@@ -8,19 +8,22 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var stackSkip = [][]byte{
|
var stackSkip = [][]byte{
|
||||||
// debug.go
|
// main.go
|
||||||
[]byte("github.com/AlexxIT/go2rtc/cmd/debug.handler"),
|
[]byte("main.main()"),
|
||||||
|
|
||||||
// cmd.go
|
|
||||||
[]byte("github.com/AlexxIT/go2rtc/cmd.Run"),
|
|
||||||
[]byte("created by os/signal.Notify"),
|
[]byte("created by os/signal.Notify"),
|
||||||
|
|
||||||
// api.go
|
// api/stack.go
|
||||||
|
[]byte("github.com/AlexxIT/go2rtc/cmd/api.stackHandler"),
|
||||||
|
|
||||||
|
// api/api.go
|
||||||
[]byte("created by github.com/AlexxIT/go2rtc/cmd/api.Init"),
|
[]byte("created by github.com/AlexxIT/go2rtc/cmd/api.Init"),
|
||||||
[]byte("created by net/http.(*connReader).startBackgroundRead"),
|
[]byte("created by net/http.(*connReader).startBackgroundRead"),
|
||||||
[]byte("created by net/http.(*Server).Serve"),
|
[]byte("created by net/http.(*Server).Serve"), // TODO: why two?
|
||||||
|
|
||||||
[]byte("created by github.com/AlexxIT/go2rtc/cmd/rtsp.Init"),
|
[]byte("created by github.com/AlexxIT/go2rtc/cmd/rtsp.Init"),
|
||||||
|
|
||||||
|
// webrtc/api.go
|
||||||
|
[]byte("created by github.com/pion/ice/v2.NewTCPMuxDefault"),
|
||||||
}
|
}
|
||||||
|
|
||||||
func stackHandler(w http.ResponseWriter, r *http.Request) {
|
func stackHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
Reference in New Issue
Block a user