Skip to content

Commit 2ce1d37

Browse files
core: re-add back in orphan wrapper
1 parent 7daefd7 commit 2ce1d37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/io/grpc/internal/AbstractManagedChannelImplBuilder.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -380,15 +380,15 @@ protected String checkAuthority(String authority) {
380380

381381
@Override
382382
public ManagedChannel build() {
383-
return new ManagedChannelImpl(
383+
return new ManagedChannelOrphanWrapper(new ManagedChannelImpl(
384384
this,
385385
buildTransportFactory(),
386386
// TODO(carl-mastrangelo): Allow clients to pass this in
387387
new ExponentialBackoffPolicy.Provider(),
388388
SharedResourcePool.forResource(GrpcUtil.SHARED_CHANNEL_EXECUTOR),
389389
GrpcUtil.STOPWATCH_SUPPLIER,
390390
getEffectiveInterceptors(),
391-
CallTracer.getDefaultFactory());
391+
CallTracer.getDefaultFactory()));
392392
}
393393

394394
// Temporarily disable retry when stats or tracing is enabled to avoid breakage, until we know

0 commit comments

Comments
 (0)