diff --git a/capture/src/capture.cpp b/capture/src/capture.cpp index a0c83973..04ae243c 100644 --- a/capture/src/capture.cpp +++ b/capture/src/capture.cpp @@ -31,7 +31,7 @@ // technically not allowed there, even though in practice it would work. // The good thing with C++11 atomics is that we can use atomic instead // here and be on the actually supported path. -static std::atomic s_disconnect; +static std::atomic s_disconnect { false }; void SigInt( int ) {