Mercurial Hosting > luan
comparison 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 |
comparison
equal
deleted
inserted
replaced
520:fcb9b4c8e972 | 521:8a217fe5b4f3 |
---|---|
41 public void setWelcomeFile(String welcomeFile) { | 41 public void setWelcomeFile(String welcomeFile) { |
42 this.welcomeFile = welcomeFile; | 42 this.welcomeFile = welcomeFile; |
43 } | 43 } |
44 | 44 |
45 @Override protected void doStop() throws Exception { | 45 @Override protected void doStop() throws Exception { |
46 luan.close(); | 46 synchronized(luan) { |
47 luan.close(); | |
48 } | |
47 //System.out.println("qqqqqqqqqqqqqqqqqqqq doStop "+this); | 49 //System.out.println("qqqqqqqqqqqqqqqqqqqq doStop "+this); |
48 super.doStop(); | 50 super.doStop(); |
49 } | 51 } |
50 /* | 52 /* |
51 @Override public void destroy() { | 53 @Override public void destroy() { |