Single instance support (tested in Linux and Windows, pending the rest of the OSes, issue SpartanJ/ecode#58).

Refresh buttons state when Clear Menu is used (issue SpartanJ/ecode#339).
This commit is contained in:
Martín Lucas Golini
2024-09-28 01:01:14 -03:00
parent 63cc931dec
commit 49e56f05a2
16 changed files with 551 additions and 112 deletions

View File

@@ -71,6 +71,11 @@ void Plugin::showMessage( LSPMessageType type, const std::string& message,
&msgReq );
}
Plugin::~Plugin() {
while ( mLoading )
Sys::sleep( Milliseconds( 1 ) );
}
void Plugin::onFileSystemEvent( const FileEvent& ev, const FileInfo& file ) {
if ( ev.type != FileSystemEventType::Modified || mShuttingDown || isLoading() )
return;