mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 10:06:35 +03:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user