Skip to content

Commit

Permalink
Prevent transport from being released twice
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-daily committed Aug 30, 2024
1 parent 0ca064a commit 79318df
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,9 @@ class DailyTransport(
}

override fun release() {
thread.assertCurrent()
call?.release()
call = null
}

private fun <V> withCall(action: (CallClient) -> Future<V, VoiceError>): Future<V, VoiceError> {
Expand Down

0 comments on commit 79318df

Please sign in to comment.