mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 16:28:54 +00:00
HackStudio: Don't crash on null progress bar update function
This commit is contained in:
parent
bbd86ee4f3
commit
eeddbb6fa6
Notes:
sideshowbarker
2024-07-17 16:42:19 +09:00
Author: https://github.com/0GreenClover0
Commit: eeddbb6fa6
Pull-request: https://github.com/SerenityOS/serenity/pull/21762
1 changed files with 2 additions and 1 deletions
|
@ -476,6 +476,7 @@ ErrorOr<void> DebugSession::update_loaded_libs()
|
||||||
};
|
};
|
||||||
|
|
||||||
ScopeGuard progress_guard([this]() {
|
ScopeGuard progress_guard([this]() {
|
||||||
|
if (m_on_initialization_progress)
|
||||||
m_on_initialization_progress(0);
|
m_on_initialization_progress(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue