diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3b15b04..9588c9d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,10 @@
+## 0.4.1 230218
+
+### Fixes
+
+- fixed error with breakpoints in other subsystems
+- fixed error with project closure causing listener to be called even after project was dead
+
## 0.4.0 230211
### Added
diff --git a/build.gradle.kts b/build.gradle.kts
index ec362d0..42aee01 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -4,7 +4,7 @@ plugins {
}
group = "com.en_circle.slt"
-version = "0.4.0"
+version = "0.4.1"
repositories {
mavenCentral()
diff --git a/src/main/java/com/en_circle/slt/plugin/services/lisp/LispEnvironmentServiceImpl.java b/src/main/java/com/en_circle/slt/plugin/services/lisp/LispEnvironmentServiceImpl.java
index 47f07f6..d6c69a9 100644
--- a/src/main/java/com/en_circle/slt/plugin/services/lisp/LispEnvironmentServiceImpl.java
+++ b/src/main/java/com/en_circle/slt/plugin/services/lisp/LispEnvironmentServiceImpl.java
@@ -240,8 +240,10 @@ private void doStop() throws Exception {
}
ApplicationManager.getApplication().invokeLaterOnWriteThread(() -> {
- ParameterHintsPassFactory.forceHintsUpdateOnNextPass();
- DaemonCodeAnalyzer.getInstance(project).restart();
+ if (!project.isDisposed()) {
+ ParameterHintsPassFactory.forceHintsUpdateOnNextPass();
+ DaemonCodeAnalyzer.getInstance(project).restart();
+ }
});
for (LispEnvironmentListener listener : serverListeners) {
diff --git a/src/main/java/com/en_circle/slt/plugin/ui/debug/SltBreakpointListener.java b/src/main/java/com/en_circle/slt/plugin/ui/debug/SltBreakpointListener.java
index a64bf62..cf86d5b 100644
--- a/src/main/java/com/en_circle/slt/plugin/ui/debug/SltBreakpointListener.java
+++ b/src/main/java/com/en_circle/slt/plugin/ui/debug/SltBreakpointListener.java
@@ -6,6 +6,7 @@
import com.intellij.xdebugger.breakpoints.XLineBreakpoint;
import org.jetbrains.annotations.NotNull;
+@SuppressWarnings("DataFlowIssue")
public class SltBreakpointListener implements XBreakpointListener
0.4.1 New features:
- Support for multiple lisp interprets
- ABCL Support
- CCL Support