We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24816a8 commit d5f1075Copy full SHA for d5f1075
ext/src/http/client/curl/http_client_curl.cc
@@ -462,18 +462,18 @@ void HttpClient::MaybeSpawnBackgroundThread()
462
{
463
if (self->background_thread_)
464
465
+ if (self->background_thread_instrumentation_ != nullptr)
466
+ {
467
+ self->background_thread_instrumentation_->OnEnd();
468
+ self->background_thread_instrumentation_.reset();
469
+ }
470
self->background_thread_->detach();
471
self->background_thread_.reset();
472
}
473
break;
474
475
476
-
- if (self->background_thread_instrumentation_ != nullptr)
- {
- self->background_thread_instrumentation_->OnEnd();
- }
477
},
478
this));
479
0 commit comments