Skip to content

Commit

Permalink
Do not call spdlog::flush_every to fix a deadlock on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattiwatti committed Jan 24, 2021
1 parent 789fd30 commit 0acd690
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ Options::Options(Paths& aPaths)
throw std::runtime_error("Not Cyberpunk2077.exe");

set_default_logger(CreateLogger(m_paths.CETRoot() / "cyber_engine_tweaks.log", "main"));
spdlog::flush_every(std::chrono::seconds(3));

spdlog::info("Cyber Engine Tweaks is starting...");

Expand Down

0 comments on commit 0acd690

Please sign in to comment.