Skip to content

Commit

Permalink
Remove unused func
Browse files Browse the repository at this point in the history
  • Loading branch information
dcadenas committed Jun 10, 2024
1 parent 2609f89 commit 54acc65
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions service/domain/relays/relay_connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -593,14 +593,6 @@ func (r *RelayConnection) setState(state RelayConnectionState) {
r.state = state
}

func (r *RelayConnection) setStateWithFn(state RelayConnectionState, fn func()) {
r.stateMutex.Lock()
defer r.stateMutex.Unlock()

r.state = state
fn()
}

func (r *RelayConnection) manageSubs(ctx context.Context, conn Connection) error {
defer conn.Close()

Expand Down

0 comments on commit 54acc65

Please sign in to comment.