Skip to content

Commit 82ea71a

Browse files
committed
fixup! Background house-keeping & pre-existing thread
1 parent 339b71d commit 82ea71a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tcmalloc/malloc_extension.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,7 @@ void MallocExtension::ProcessBackgroundActionsTick() {
443443

444444
bool MallocExtension::NeedsProcessBackgroundActions() {
445445
#if ABSL_INTERNAL_HAVE_WEAK_MALLOCEXTENSION_STUBS
446-
static bool needed = &MallocExtension_Internal_ProcessBackgroundActions != nullptr;
447-
return needed;
446+
return &MallocExtension_Internal_ProcessBackgroundActions != nullptr;
448447
#else
449448
return false;
450449
#endif

0 commit comments

Comments
 (0)