Browse Source

移除测试List的占用空间

yuzhengyang 8 years ago
parent
commit
9ed4c65344
1 changed files with 1 additions and 19 deletions
  1. 1 19
      Fork.Net/Oreo.Plugins/Oreo.FileMan/Partial/FileTypePartial.cs

+ 1 - 19
Fork.Net/Oreo.Plugins/Oreo.FileMan/Partial/FileTypePartial.cs

@@ -34,25 +34,7 @@ namespace Oreo.FileMan.Partial
 
         private void FileTypePartial_Load(object sender, EventArgs e)
         {
-            //Start();
-
-            Task.Factory.StartNew(() =>
-            {
-                List<string> strlist = new List<string>();
-                for (int i = 0; i < 500000; i++)
-                {
-                    strlist.Add(
-                        DateTime.Now.ToString() +
-                        Guid.NewGuid().ToString() +
-                        Guid.NewGuid().ToString() +
-                        Guid.NewGuid().ToString());
-
-                    if ((i + 1) % 1000 == 0)
-                    {
-                        UISetFileCount(i + 1, 500000);
-                    }
-                }
-            });
+            Start();
         }
 
         void Start()