Loader: Make executable analyzation not halt UI when launching games

This commit is contained in:
Eladash 2023-04-08 18:03:05 +03:00 committed by Ivan
parent 17e6ad1fe8
commit 0e388639cc
8 changed files with 51 additions and 29 deletions

View file

@ -18,7 +18,7 @@ class scoped_progress_dialog final
const char* const m_prev;
public:
scoped_progress_dialog(const char* text)
scoped_progress_dialog(const char* text) noexcept
: m_prev(g_progr.exchange(text ? text : ""))
{
}
@ -27,7 +27,7 @@ public:
scoped_progress_dialog& operator=(const scoped_progress_dialog&) = delete;
~scoped_progress_dialog()
~scoped_progress_dialog() noexcept
{
g_progr.release(m_prev);
}