Commit 632fb9b5 authored by Andrii Grynenko's avatar Andrii Grynenko Committed by facebook-github-bot-1

Properly init collectDone_

Summary: facepaw

Reviewed By: djwatson

Differential Revision: D2709030

fb-gh-sync-id: 20fe50bc70e97c4fedeae8fd271a4de70fa0e805
parent 5f49ee87
...@@ -159,7 +159,7 @@ class TLRefCount { ...@@ -159,7 +159,7 @@ class TLRefCount {
std::mutex collectMutex_; std::mutex collectMutex_;
Int collectCount_{0}; Int collectCount_{0};
bool collectDone_; bool collectDone_{false};
}; };
std::atomic<State> state_{State::LOCAL}; std::atomic<State> state_{State::LOCAL};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment