Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cleanupForCurrentThread (0.38 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/classpath/AbstractCallInterceptionTest.groovy

                bytecodeInterceptorFilter,
                typeRegistry()
            )
        }
    
        def cleanup() {
            jvmInterceptorsSubstitution.cleanupForCurrentThread()
            groovyInterceptorsSubstitution.cleanupForCurrentThread()
        }
    
        def resetInterceptors() {
            cleanup()
            setup()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:14:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/internal/classpath/intercept/TestInterceptorsSubstitution.groovy

         * If the global implementation does not have any other active call interceptors in the other threads, reverts the
         * global call interceptors implementation.
         */
        void cleanupForCurrentThread() {
            synchronized (CallInterceptorRegistry.class) {
                substitutionIfPresent()?.cancelSubstitutionForCurrentThread()
                maybeRevertGlobalJvmBytecodeInterceptorFactorySet()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 16:29:37 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top