Fix in LSP Client, incorrectly unbinding commands from document.
Emscripten improvements (clipboard).
This commit is contained in:
Martín Lucas Golini
2023-07-03 12:31:51 -03:00
parent 1f1f2b5c17
commit 6871fd3b65
9 changed files with 313 additions and 19 deletions

View File

@@ -618,8 +618,15 @@ void App::onTextDropped( String text ) {
App::App( const size_t& jobs, const std::vector<std::string>& args ) :
mArgs( args ),
#if EE_PLATFORM != EE_PLATFORM_EMSCRIPTEN
mThreadPool(
ThreadPool::createShared( jobs > 0 ? jobs : eemax<int>( 2, Sys::getCPUCount() ) ) ) {}
ThreadPool::createShared( jobs > 0 ? jobs : eemax<int>( 2, Sys::getCPUCount() ) ) ) {
}
#elif defined( __EMSCRIPTEN_PTHREADS__ )
mThreadPool(
ThreadPool::createShared( jobs > 0 ? jobs : eemin<int>( 8, Sys::getCPUCount() ) ) ) {
}
#endif
App::~App() {
if ( mProjectBuildManager )