Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ensureAllConnectionsReleased (0.08 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          uncaughtException = throwable
        }
      }
    
      @Synchronized fun takeUncaughtException(): Throwable? =
        uncaughtException
          .also { uncaughtException = null }
    
      fun ensureAllConnectionsReleased() {
        testClient?.let {
          val connectionPool = it.connectionPool
    
          connectionPool.evictAll()
          if (connectionPool.connectionCount() > 0) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top