If the reference count was higher than 1, detaching a tlsctx cache didn't clear the pointer, which could trigger an assertion later.
If the reference count was higher than 1, detaching a tlsctx cache didn't clear the pointer, which could trigger an assertion later.