Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        // Can't allocate once a leak has been detected.
        assertThat(c1.noNewExchanges).isTrue()
      }
    
      @Test fun interruptStopsThread() {
        val realTaskRunner = TaskRunner.INSTANCE
        val pool =
          factory.newConnectionPool(
            taskRunner = TaskRunner.INSTANCE,
            maxIdleConnections = 2,
          )
        factory.newConnection(pool, routeA1)
        assertThat(realTaskRunner.activeQueues()).isNotEmpty()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top