mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 15:39:30 +02:00
IDE: lock source-edits while reloading changed units
This commit is contained in:
parent
03bf02974e
commit
d604978e80
@ -8865,6 +8865,7 @@ begin
|
||||
APackageList:=nil;
|
||||
AIgnoreList:=nil;
|
||||
LFMLoaded:=nil;
|
||||
SourceEditorManager.IncUpdateLock;
|
||||
try
|
||||
InvalidateFileStateCache;
|
||||
|
||||
@ -8980,6 +8981,7 @@ begin
|
||||
|
||||
Result:=mrOk;
|
||||
finally
|
||||
SourceEditorManager.DecUpdateLock;
|
||||
CheckFilesOnDiskEnabled:=True;
|
||||
LFMLoaded.Free;
|
||||
BufferList.Free;
|
||||
|
Loading…
Reference in New Issue
Block a user