This pull request addresses a crucial issue by properly initializing the variable with a value of 0. In C++, the initialization of a std::atomic variable involves using the constructor to provide an initial value. By ensuring the initialization of the variable, we ensure consistent behavior across different platforms, such as Windows and Linux. This fix is essential as it resolves a crash that was occurring specifically in Linux.
This pull request addresses a crucial issue by properly initializing the variable with a value of 0. In C++, the initialization of a std::atomic variable involves using the constructor to provide an initial value. By ensuring the initialization of the variable, we ensure consistent behavior across different platforms, such as Windows and Linux. This fix is essential as it resolves a crash that was occurring specifically in Linux.