mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 22:15:07 +00:00
HackStudio: Don't crash on null progress bar update function
This commit is contained in:
parent
bbd86ee4f3
commit
eeddbb6fa6
1 changed files with 2 additions and 1 deletions
|
@ -476,7 +476,8 @@ ErrorOr<void> DebugSession::update_loaded_libs()
|
||||||
};
|
};
|
||||||
|
|
||||||
ScopeGuard progress_guard([this]() {
|
ScopeGuard progress_guard([this]() {
|
||||||
m_on_initialization_progress(0);
|
if (m_on_initialization_progress)
|
||||||
|
m_on_initialization_progress(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
size_t vm_entry_index = 0;
|
size_t vm_entry_index = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue