mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-01 02:56:28 +03:00
ecode: Display the the error or warning message in the symbol info tooltip. Try to prevent reloading a plugin when it's currently loading.
This commit is contained in:
@@ -453,7 +453,7 @@ void Plugin::subscribeFileSystemListener() {
|
||||
[this]( const FileEvent& ev, const FileInfo& file ) {
|
||||
if ( ev.type != FileSystemEventType::Modified )
|
||||
return;
|
||||
if ( !mShuttingDown && file.getFilepath() == mConfigPath &&
|
||||
if ( !mShuttingDown && !mLoading && file.getFilepath() == mConfigPath &&
|
||||
file.getModificationTime() != mConfigFileInfo.getModificationTime() ) {
|
||||
std::string fileContents;
|
||||
FileSystem::fileGet( file.getFilepath(), fileContents );
|
||||
|
||||
Reference in New Issue
Block a user