Revision 4671d606 trunk/Pithos.Core/Agents/PollAgent.cs
b/trunk/Pithos.Core/Agents/PollAgent.cs | ||
---|---|---|
119 | 119 |
_syncEvent.Set(); |
120 | 120 |
} |
121 | 121 |
|
122 |
|
|
122 | 123 |
/// <summary> |
123 | 124 |
/// Remote files are polled periodically. Any changes are processed |
124 | 125 |
/// </summary> |
... | ... | |
130 | 131 |
Log.DebugFormat("Polling changes after [{0}]",since); |
131 | 132 |
|
132 | 133 |
Debug.Assert(Thread.CurrentThread.IsBackground, "Polling Ended up in the main thread!"); |
133 |
|
|
134 |
|
|
135 |
GC.Collect(); |
|
134 | 136 |
|
135 | 137 |
using (ThreadContext.Stacks["Retrieve Remote"].Push("All accounts")) |
136 | 138 |
{ |
Also available in: Unified diff