Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
258 changes: 0 additions & 258 deletions pkg/sip/inbound_process_invite_test.go

This file was deleted.

2 changes: 1 addition & 1 deletion pkg/sip/outbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ func (c *outboundCall) Disconnected() <-chan struct{} {
}

func (c *outboundCall) Close(ctx context.Context) error {
c.closing.Break()
c.mu.Lock()
defer c.mu.Unlock()
c.close(ctx, nil, callDropped, "shutdown", livekit.DisconnectReason_SERVER_SHUTDOWN)
Expand All @@ -306,6 +305,7 @@ func (c *outboundCall) printStats() {
}

func (c *outboundCall) close(ctx context.Context, err error, status CallStatus, description string, reason livekit.DisconnectReason) {
c.closing.Break()
ctx = context.WithoutCancel(ctx)
c.stopped.Once(func() {
c.stats.Closed.Store(true)
Expand Down
Loading
Loading