Browse Source

* Flush when saving. Fixes issue #40938

Michaël Van Canneyt 10 months ago
parent
commit
10d913624d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-json/src/jsonconf.pp

+ 1 - 0
packages/fcl-json/src/jsonconf.pp

@@ -187,6 +187,7 @@ begin
         S:=FJSON.AsJSON;
       if S>'' then
         F.WriteBuffer(S[1],Length(S));  
+      F.Flush;
     Finally
       F.Free;
     end;