add shutdown cleanup (listener, log, threadpool)

add more shutdown cleanup: pwbuf, threadpool, logfiles, authdb

remove unused function

(0) -300 -100 -30 -10 -3 +3 +10 +30 tip

mercurial