Fixed shutdown problem.
This commit is contained in:
@@ -41,7 +41,7 @@ The current list of supported filters are:
|
||||
Note that there are now two syntaxes for filters, array and single, if you want more than one filter of the same
|
||||
type then you must use the array tag instead of the singular tag. i.e:
|
||||
|
||||
A single Json filter using the single tag
|
||||
A single Json filter using the single tag (this is only provided as a convienience, the array syntax is preferred)
|
||||
```json
|
||||
"Filters": [
|
||||
{
|
||||
|
||||
@@ -215,6 +215,8 @@ namespace TimberWinR.Inputs
|
||||
rs = null;
|
||||
GC.Collect();
|
||||
}
|
||||
// Sleep
|
||||
syncHandle.Wait(TimeSpan.FromSeconds(_pollingIntervalInSeconds), _cancelToken);
|
||||
}
|
||||
catch (FileNotFoundException fnfex)
|
||||
{
|
||||
@@ -232,7 +234,6 @@ namespace TimberWinR.Inputs
|
||||
{
|
||||
oLogQuery = null;
|
||||
}
|
||||
syncHandle.Wait(TimeSpan.FromSeconds(_pollingIntervalInSeconds), _cancelToken);
|
||||
}
|
||||
}
|
||||
Finished();
|
||||
|
||||
Reference in New Issue
Block a user