Skip to content

Commit 18aff28

Browse files
committed
Merge pull request #78 from eprogramming/master
added a realease link on file menu to release aesh console
2 parents 50f0b5d + 4c812ea commit 18aff28

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/main/java/org/esmerilprogramming/cloverxell/controller/CloverxellController.java

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ public void send(String command, String customCommand, CloverXRequest request) t
4949
public void stop(CloverXRequest request) throws Exception {
5050
AeshHandler aesh = getAeshHandler(request);
5151
aesh.stop();
52+
CloverXSession session = request.getSession();
53+
session.destroy();
5254
LOGGER.info("stoped.");
5355
}
5456

src/main/resources/templates/cloverxell.ftl

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ body {
7272
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" style="margin-left: -20px;">File<span class="caret"></span></a>
7373
<ul class="dropdown-menu" role="menu">
7474
<li><a href="javascript:void(0);" onclick="cloverxell.newTab();">Open Tab</a></li>
75+
<li><a href="javascript:void(0);" onclick="cloverxell.stop();">Release</a></li>
7576
</ul></li>
7677
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Edit<span class="caret"></span></a>
7778
<ul class="dropdown-menu" role="menu">

0 commit comments

Comments
 (0)