mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 02:21:34 +08:00
Merge pull request #1571 from IIFE/filename-deadlock
fix deadlock on filename() call. Thanks @IIFE
This commit is contained in:
commit
ac19803d03
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user