Fix automatic scrolling while writing in UITextEdit.

Fix threadpool close.
Git plugin safetly destruct.
This commit is contained in:
Martín Lucas Golini
2024-02-03 12:37:49 -03:00
parent db9e2634b1
commit 0fe59e3ca9
4 changed files with 24 additions and 12 deletions

View File

@@ -714,7 +714,10 @@ App::App( const size_t& jobs, const std::vector<std::string>& args ) :
App::~App() {
if ( mProjectBuildManager )
mProjectBuildManager.reset();
Http::setThreadPool( nullptr );
mThreadPool.reset();
if ( mFileWatcher ) {
Lock l( mWatchesLock );
delete mFileWatcher;