Revert to gracefully end thread pool.

This commit is contained in:
Martín Lucas Golini
2021-11-11 18:38:03 -03:00
parent 12c539fe9d
commit 13db514511

View File

@@ -370,7 +370,7 @@ void App::onTextDropped( String text ) {
}
}
App::App() : mThreadPool( ThreadPool::createShared( eemax<int>( 2, Sys::getCPUCount() ), true ) ) {}
App::App() : mThreadPool( ThreadPool::createShared( eemax<int>( 2, Sys::getCPUCount() ) ) ) {}
App::~App() {
if ( mFileWatcher )