Try fix invalid memory access in SyntaxDefinitions.

Added attach in Chat UI.
Some minor improvements in Http pool implementation.
This commit is contained in:
Martín Lucas Golini
2025-08-12 00:49:13 -03:00
parent 1e95c07a1f
commit 0ec2a4dba9
34 changed files with 443 additions and 187 deletions

View File

@@ -152,7 +152,7 @@ DebuggerPlugin::~DebuggerPlugin() {
}
if ( mSidePanel && mTab ) {
if ( Engine::isRunninMainThread() )
if ( Engine::isMainThread() )
mSidePanel->removeTab( mTab );
else {
auto sidePanel = mSidePanel;
@@ -2341,7 +2341,7 @@ void DebuggerPlugin::setUIDebuggingState( StatusDebuggerController::State state
}
if ( mPanelBoxButtons.box ) {
if ( Engine::isRunninMainThread() )
if ( Engine::isMainThread() )
updatePanelUIState( state );
else
mPanelBoxButtons.box->runOnMainThread( [this, state] { updatePanelUIState( state ); } );