core: re-add back in orphan wrapper

This commit is contained in:
Carl Mastrangelo 2018-03-16 14:51:38 -07:00 committed by GitHub
parent 7daefd75a1
commit 2ce1d370a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -380,7 +380,7 @@ public abstract class AbstractManagedChannelImplBuilder
@Override @Override
public ManagedChannel build() { public ManagedChannel build() {
return new ManagedChannelImpl( return new ManagedChannelOrphanWrapper(new ManagedChannelImpl(
this, this,
buildTransportFactory(), buildTransportFactory(),
// TODO(carl-mastrangelo): Allow clients to pass this in // TODO(carl-mastrangelo): Allow clients to pass this in
@ -388,7 +388,7 @@ public abstract class AbstractManagedChannelImplBuilder
SharedResourcePool.forResource(GrpcUtil.SHARED_CHANNEL_EXECUTOR), SharedResourcePool.forResource(GrpcUtil.SHARED_CHANNEL_EXECUTOR),
GrpcUtil.STOPWATCH_SUPPLIER, GrpcUtil.STOPWATCH_SUPPLIER,
getEffectiveInterceptors(), getEffectiveInterceptors(),
CallTracer.getDefaultFactory()); CallTracer.getDefaultFactory()));
} }
// Temporarily disable retry when stats or tracing is enabled to avoid breakage, until we know // Temporarily disable retry when stats or tracing is enabled to avoid breakage, until we know