SHL-78 - Add an if check in JLineShellComponent's stop method.
This commit is contained in:
@@ -78,8 +78,10 @@ public class JLineShellComponent extends JLineShell implements Lifecycle {
|
||||
|
||||
|
||||
public void stop() {
|
||||
closeShell();
|
||||
running = false;
|
||||
if (running) {
|
||||
closeShell();
|
||||
running = false;
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isRunning() {
|
||||
|
||||
Reference in New Issue
Block a user