diff --git a/example/main.go b/example/main.go index b1fda8d32..e9347bd14 100644 --- a/example/main.go +++ b/example/main.go @@ -7,6 +7,7 @@ import ( "fmt" "log" "os" + "time" "github.com/github/go-liveshare" ) @@ -88,6 +89,8 @@ func setupSSH(ctx context.Context, terminal *liveshare.Terminal, containerID str return fmt.Errorf("error closing stream: %v", err) } + time.Sleep(2 * time.Second) + return nil }