This is with latest 0.8.4 RC on Win7 x64, I have no idea yet what causes this, but I'm sure shutdown with previous versions was faster. This was with proxy enabled, problem seems to be non existant with proxy disabled. @sipa Any idea for such a behaviour? Any timeout blocking that thread?
Proxy enabled (opencon takes 1 1/2 minutes to interrupt):
<pre> 2013-08-30 10:25:25 addcon thread interrupt 2013-08-30 10:25:25 net thread interrupt 2013-08-30 10:25:25 dumpaddr thread stop 2013-08-30 10:25:25 msghand thread interrupt 2013-08-30 10:27:04 opencon thread interrupt 2013-08-30 10:27:04 Flush(false) 2013-08-30 10:27:04 wallet.dat refcount=0 2013-08-30 10:27:04 wallet.dat checkpoint 2013-08-30 10:27:04 wallet.dat detach 2013-08-30 10:27:04 wallet.dat closed 2013-08-30 10:27:04 DBFlush(false) ended 47ms 2013-08-30 10:27:04 StopNode() 2013-08-30 10:27:04 Flushed 14694 addresses to peers.dat 47ms 2013-08-30 10:27:04 Committing 30072 changed transactions to coin database... 2013-08-30 10:27:05 Flush(true) 2013-08-30 10:27:05 wallet.dat refcount=0 2013-08-30 10:27:05 wallet.dat checkpoint 2013-08-30 10:27:05 wallet.dat detach 2013-08-30 10:27:05 wallet.dat closed 2013-08-30 10:27:05 DBFlush(true) ended 16ms </pre>
Proxy disabled (opencon immediately interrupted): <per> 2013-08-30 10:31:26 addcon thread interrupt 2013-08-30 10:31:26 dumpaddr thread stop 2013-08-30 10:31:26 net thread interrupt 2013-08-30 10:31:26 msghand thread interrupt 2013-08-30 10:31:29 connection timeout 2013-08-30 10:31:29 opencon thread interrupt 2013-08-30 10:31:29 Flush(false) 2013-08-30 10:31:29 wallet.dat refcount=0 2013-08-30 10:31:29 wallet.dat checkpoint 2013-08-30 10:31:29 wallet.dat detach 2013-08-30 10:31:30 wallet.dat closed 2013-08-30 10:31:30 DBFlush(false) ended 42ms 2013-08-30 10:31:30 StopNode() 2013-08-30 10:31:30 Flushed 14542 addresses to peers.dat 68ms 2013-08-30 10:31:30 Committing 542 changed transactions to coin database... 2013-08-30 10:31:30 Flush(true) 2013-08-30 10:31:30 wallet.dat refcount=0 2013-08-30 10:31:30 wallet.dat checkpoint 2013-08-30 10:31:30 wallet.dat detach 2013-08-30 10:31:30 wallet.dat closed 2013-08-30 10:31:30 DBFlush(true) ended 20ms </pre>