Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/Server.java @ 867:4f5547d29192
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 02 Oct 2016 21:06:18 -0600 |
parents | 6b210bb66c63 |
children | b9aa175d9a29 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Server.java Sun Oct 02 20:47:02 2016 -0600 +++ b/src/org/eclipse/jetty/server/Server.java Sun Oct 02 21:06:18 2016 -0600 @@ -85,7 +85,6 @@ setConnectors(new Connector[]{connector}); _threadPool = new ThreadPoolExecutor(256, 256, 60, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>()); - addBean(_threadPool); } @@ -284,6 +283,8 @@ try{_connectors[i].stop();}catch(Throwable e){mex.add(e);} } + _threadPool.shutdownNow(); + try {super.doStop(); } catch(Throwable e) { mex.add(e);} mex.ifExceptionThrow();