diff options
author | Marius Ungureanu <therzok@gmail.com> | 2017-02-15 11:01:01 +0300 |
---|---|---|
committer | Marius Ungureanu <therzok@gmail.com> | 2017-02-15 11:01:01 +0300 |
commit | 9c6c8eec0243afa729956d3738a2cdb6c2f3abac (patch) | |
tree | 9f3bade154e4d2024a8b82136b132c61285f3af1 /main/src | |
parent | 2cc586a5adedb7a2b2b6fd0f72ef60fe9aa58ff1 (diff) |
[Windows] Optimize Open Containing Folder.
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs b/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs index 232b68ddda..a62b185dd6 100644 --- a/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs +++ b/main/src/addins/WindowsPlatform/WindowsPlatform/WindowsPlatform.cs @@ -550,8 +550,9 @@ namespace MonoDevelop.Platform try { SHOpenFolderAndSelectItems (dir, (uint)files.Length, files, 0); } finally { - ILFree (dir); - files.ToList ().ForEach (ILFree); + ILFree (dir);
+ foreach (var file in files)
+ ILFree (file); } } } |