Skip to content

Commit

Permalink
Avoid nil pointer dereference if NewLKSDKOutput fails to connect to t…
Browse files Browse the repository at this point in the history
…he room (#235)
  • Loading branch information
biglittlebigben authored Mar 5, 2024
1 parent e3fb08a commit 1b05e18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/lksdk_output/lksdk_output.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ func NewLKSDKOutput(ctx context.Context, p *params.Params) (*LKSDKOutput, error)

s := &LKSDKOutput{
params: p,
logger: p.GetLogger(),
}

cb := lksdk.NewRoomCallback()
Expand Down

0 comments on commit 1b05e18

Please sign in to comment.