mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Try fix invalid memory access in SyntaxDefinitions.
Added attach in Chat UI. Some minor improvements in Http pool implementation.
This commit is contained in:
@@ -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 ); } );
|
||||
|
||||
Reference in New Issue
Block a user