Merge pull request #1571 from IIFE/filename-deadlock

fix deadlock on filename() call. Thanks @IIFE
This commit is contained in:
Gabi Melman 2020-05-27 00:01:58 +03:00 committed by GitHub
commit ac19803d03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,7 +155,7 @@ private:
using details::os::filename_to_str;
using details::os::remove_if_exists;
filename_t current_file = filename();
filename_t current_file = file_helper_.filename();
if (filenames_q_.full())
{
auto old_filename = std::move(filenames_q_.front());