Skip to content

Commit

Permalink
fixup! Background house-keeping & pre-existing thread
Browse files Browse the repository at this point in the history
  • Loading branch information
vlovich committed Aug 25, 2021
1 parent 339b71d commit 82ea71a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tcmalloc/malloc_extension.cc
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,7 @@ void MallocExtension::ProcessBackgroundActionsTick() {

bool MallocExtension::NeedsProcessBackgroundActions() {
#if ABSL_INTERNAL_HAVE_WEAK_MALLOCEXTENSION_STUBS
static bool needed = &MallocExtension_Internal_ProcessBackgroundActions != nullptr;
return needed;
return &MallocExtension_Internal_ProcessBackgroundActions != nullptr;
#else
return false;
#endif
Expand Down

0 comments on commit 82ea71a

Please sign in to comment.