Mercurial Hosting > luan
diff http/src/luan/modules/http/LuanHandler.java @ 521:8a217fe5b4f3
cleaner LuanState.onClose()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 27 May 2015 03:12:28 -0600 |
parents | 8dcf9e12446b |
children | f99c79b0b426 |
line wrap: on
line diff
--- a/http/src/luan/modules/http/LuanHandler.java Wed May 27 01:30:25 2015 -0600 +++ b/http/src/luan/modules/http/LuanHandler.java Wed May 27 03:12:28 2015 -0600 @@ -43,7 +43,9 @@ } @Override protected void doStop() throws Exception { - luan.close(); + synchronized(luan) { + luan.close(); + } //System.out.println("qqqqqqqqqqqqqqqqqqqq doStop "+this); super.doStop(); }