Revision 6a8aa833 trunk/Pithos.Core/Agents/NetworkAgent.cs

b/trunk/Pithos.Core/Agents/NetworkAgent.cs
343 343
        //Remote files are polled periodically. Any changes are processed
344 344
        public async Task PollRemoteFiles(DateTime? since = null)
345 345
        {
346
            Debug.Assert(Thread.CurrentThread.IsBackground,"Polling Ended up in the main thread!");
347

  
346 348
            UpdateStatus(PithosStatus.Syncing);
347 349
            StatusNotification.Notify(new PollNotification());
348 350

  

Also available in: Unified diff