From 632fb9b591ebc15229f9d293a704c42d45d96535 Mon Sep 17 00:00:00 2001 From: Andrii Grynenko Date: Tue, 1 Dec 2015 17:23:48 -0800 Subject: [PATCH] Properly init collectDone_ Summary: facepaw Reviewed By: djwatson Differential Revision: D2709030 fb-gh-sync-id: 20fe50bc70e97c4fedeae8fd271a4de70fa0e805 --- folly/experimental/TLRefCount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/experimental/TLRefCount.h b/folly/experimental/TLRefCount.h index c2b22091..6d20b5ef 100644 --- a/folly/experimental/TLRefCount.h +++ b/folly/experimental/TLRefCount.h @@ -159,7 +159,7 @@ class TLRefCount { std::mutex collectMutex_; Int collectCount_{0}; - bool collectDone_; + bool collectDone_{false}; }; std::atomic state_{State::LOCAL}; -- 2.34.1