If the settings are changed while collecting weather, ignore the exception
This commit is contained in:
parent
00b228c008
commit
df7e4f2044
@ -25,6 +25,7 @@ namespace Fraunhofer.Fit.IoT.LoraMap.Model.Sensor {
|
||||
|
||||
private void BackGroundRunner() {
|
||||
while(this.backgroundrunnerAlive) {
|
||||
try {
|
||||
List<Warning> ret = new List<Warning>();
|
||||
foreach(Int32 item in Settings.Instance.Internal.WeatherCellIDs) {
|
||||
try {
|
||||
@ -44,6 +45,7 @@ namespace Fraunhofer.Fit.IoT.LoraMap.Model.Sensor {
|
||||
Thread.Sleep(60);
|
||||
}
|
||||
}
|
||||
} catch { }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user