Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
! dictionary resize was called twice in a row
test case: dic := TDictionary.Create; try for i := 1 to 63 do dic.Add(IntToStr(i)); // next two calls will both trigger Resize dic.Add('64'); dic.Add('65'); for i := 66 to 127 do dic.Add(IntToStr(i)); // next two calls will both trigger Resize dic.Add('128'); dic.Add('129'); finally FreeAndNil(dic); end;
- Loading branch information