Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

SHL-78 - Add an if check in JLineShellComponent's stop method.

  • Loading branch information...
commit 7e429fc43771101518ac4ead0526ca41896a519e 1 parent 85849dc
mpollack authored
View
6 src/main/java/org/springframework/shell/core/JLineShellComponent.java
@@ -78,8 +78,10 @@ public void start() {
public void stop() {
- closeShell();
- running = false;
+ if (running) {
+ closeShell();
+ running = false;
+ }
}
public boolean isRunning() {

0 comments on commit 7e429fc

Please sign in to comment.
Something went wrong with that request. Please try again.