diff --git a/pom.xml b/pom.xml
index dcdae016..9fb8bdd6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
org.pamguard
Pamguard
- 2.02.05
+ 2.02.05a
Pamguard Java12+
Pamguard for Java 12+, using Maven to control dependcies
www.pamguard.org
diff --git a/src/PamController/PamguardVersionInfo.java b/src/PamController/PamguardVersionInfo.java
index 01258c63..270b31df 100644
--- a/src/PamController/PamguardVersionInfo.java
+++ b/src/PamController/PamguardVersionInfo.java
@@ -31,12 +31,12 @@ public class PamguardVersionInfo {
* Version number, major version.minorversion.sub-release.
* Note: can't go higher than sub-release 'f'
*/
- static public final String version = "2.02.05";
+ static public final String version = "2.02.05a";
/**
* Release date
*/
- static public final String date = "21 October 2022";
+ static public final String date = "11 November 2022";
// /**
// * Release type - Beta or Core
diff --git a/src/PamguardMVC/PamDataBlock.java b/src/PamguardMVC/PamDataBlock.java
index 20d6aedb..e0c3b9f7 100644
--- a/src/PamguardMVC/PamDataBlock.java
+++ b/src/PamguardMVC/PamDataBlock.java
@@ -65,6 +65,7 @@ import PamDetection.LocalisationInfo;
import PamUtils.PamCalendar;
import PamUtils.PamUtils;
import PamView.symbol.PamSymbolManager;
+import PamguardMVC.background.BackgroundDataBlock;
import PamguardMVC.background.BackgroundManager;
import PamguardMVC.dataOffline.OfflineDataLoadInfo;
import PamguardMVC.dataOffline.OfflineDataLoading;
@@ -944,6 +945,12 @@ public class PamDataBlock extends PamObservable {
recycledUnits.clear();
}
}
+ if (backgroundManager != null) {
+ BackgroundDataBlock bdb = backgroundManager.getBackgroundDataBlock();
+ if (bdb != null) {
+ bdb.clearAll();
+ }
+ }
}
/**