Be fix goroutine leak (#252)
* fix(gateway):fix goroutine leak * fix(term):remove useless code * fix(be):add pprof for debug mode
This commit is contained in:
@ -152,7 +152,6 @@ func (api WebTerminalApi) SshEndpoint(c echo.Context) error {
|
||||
NextTerminal: nextTerminal,
|
||||
Observer: session.NewObserver(s.ID),
|
||||
}
|
||||
go nextSession.Observer.Start()
|
||||
session.GlobalSessionManager.Add <- nextSession
|
||||
|
||||
termHandler := NewTermHandler(sessionId, isRecording, ws, nextTerminal)
|
||||
|
Reference in New Issue
Block a user