mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-14 13:15:14 +03:00
Forgot to stash the debugger crash fix.
This commit is contained in:
@@ -497,6 +497,8 @@ void DebuggerClientListener::scopes( const int /*frameId*/, std::vector<Scope>&&
|
||||
uiVars->removeActionsByTag( SCOPES_UI_HASH );
|
||||
uiVars->runOnMainThread(
|
||||
[this, uiVars] {
|
||||
// Reset selection given that the VariablesModel can end up doing an use-after-free
|
||||
uiVars->getSelection().clear();
|
||||
auto model = uiVars->getModel();
|
||||
size_t total = model->rowCount();
|
||||
for ( size_t i = 0; i < total; i++ ) {
|
||||
|
||||
Reference in New Issue
Block a user