Fix incorrect check in Selective Sync that prevented folder changes to propagate...
[pithos-ms-client] / trunk / Pithos.Core / Agents / PollAgent.cs
index e3ffd9e..a3ff53e 100644 (file)
@@ -119,6 +119,7 @@ namespace Pithos.Core.Agents
             _syncEvent.Set();\r
         }\r
 \r
+\r
         /// <summary>\r
         /// Remote files are polled periodically. Any changes are processed\r
         /// </summary>\r
@@ -130,7 +131,8 @@ namespace Pithos.Core.Agents
                 Log.DebugFormat("Polling changes after [{0}]",since);\r
 \r
             Debug.Assert(Thread.CurrentThread.IsBackground, "Polling Ended up in the main thread!");\r
-            \r
+\r
+            GC.Collect();\r
 \r
             using (ThreadContext.Stacks["Retrieve Remote"].Push("All accounts"))\r
             {\r