mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 13:05:25 -05:00
fix: ImHex crashing when default folders couldn't get created
This fixes #238
This commit is contained in:
@@ -45,7 +45,11 @@ namespace hex::init {
|
||||
this->m_currTaskName = name;
|
||||
}
|
||||
|
||||
status = task() && status;
|
||||
try {
|
||||
status = task() && status;
|
||||
} catch (...) {
|
||||
status = false;
|
||||
}
|
||||
|
||||
{
|
||||
std::lock_guard guard(this->m_progressMutex);
|
||||
|
||||
Reference in New Issue
Block a user