Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for additionalHandlersWithContext (0.23 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go

    	if r := recover(); r != nil {
    		additionalHandlersWithContext := make([]func(context.Context, interface{}), len(additionalHandlers))
    		for i, handler := range additionalHandlers {
    			handler := handler // capture loop variable
    			additionalHandlersWithContext[i] = func(_ context.Context, r interface{}) {
    				handler(r)
    			}
    		}
    
    		handleCrash(context.Background(), r, additionalHandlersWithContext...)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top