10.0.1 won't exit on Windows
Description of bug:
wallet keep running in the background with 5 threads after asking it to close
Steps to reproduce the issue:
- Open nano_wallet and unlock the wallet
- Wait a while it's synchronizing
- Close the nano_wallet using the "X" on the window
Describe the results you received:
nano_wallet remains in the background running
Describe the results you expected:
should stop the threads and exit
Additional information you deem important (e.g. issue happens only occasionally):

Environment:
OS: Windows 10 x64 (Fall Creators Update) Version: nano_wallet 10.0.1
logs
[2018-02-16 19:03:19.200634]: Flushing unchecked blocks
[2018-02-16 19:03:19.200634]: Finished flushing unchecked blocks
[2018-02-16 19:03:19.200634]: Completed pulls
[2018-02-16 19:03:19.498166]: Bulk push finished
[2018-02-16 19:03:19.498667]: Exiting bulk push client
[2018-02-16 19:03:19.520669]: Error initiating bootstrap connection to [::ffff:172.220.19.182]:7075: The I/O operation has been aborted because of either a thread exit or an application request
[2018-02-16 19:03:19.521670]: Error initiating bootstrap connection to [::ffff:177.129.28.114]:7075: The I/O operation has been aborted because of either a thread exit or an application request
[2018-02-16 19:03:19.521670]: Error initiating bootstrap connection to [::ffff:89.13.215.132]:7075: The I/O operation has been aborted because of either a thread exit or an application request
[2018-02-16 19:03:19.520669]: Error initiating bootstrap connection to [2a01:7e00::f03c:91ff:fed1:32ba]:7075: The I/O operation has been aborted because of either a thread exit or an application request
[2018-02-16 19:03:19.521670]: Exiting bootstrap attempt
[2018-02-16 19:03:24.480307]: Starting bootstrap attempt
[2018-02-16 19:03:24.718332]: Connection established to [::ffff:165.227.41.166]:7075
[2018-02-16 19:03:24.735834]: Connection established to [::ffff:107.170.204.87]:7075
[2018-02-16 19:03:24.763338]: Connection established to [::ffff:139.162.199.142]:7075
[2018-02-16 19:03:24.777840]: Connection established to [::ffff:178.62.252.212]:7075
[2018-02-16 19:03:24.779841]: Connection established to [::ffff:174.138.4.198]:7075
[2018-02-16 19:03:24.786341]: Connection established to [::ffff:52.49.123.169]:7075
[2018-02-16 19:03:25.691957]: Connection established to [::ffff:104.131.21.158]:7075
[2018-02-16 19:03:25.711459]: Connection established to [::ffff:172.245.170.187]:7075
[2018-02-16 19:03:25.777468]: Connection established to [::ffff:46.17.97.56]:7075
[2018-02-16 19:03:25.788969]: Connection established to [::ffff:79.137.70.7]:7075
[2018-02-16 19:03:25.792470]: Connection established to [2001:41d0:302:2200::1b67]:7075
[2018-02-16 19:03:25.933488]: Connection established to [2607:fa98:10:c:ec4:7aff:fee0:634c]:7075
[2018-02-16 19:03:27.090223]: Error initiating bootstrap connection to [::ffff:138.197.157.149]:8942: No connection could be made because the target machine actively refused it
[2018-02-16 19:03:27.621480]: Error initiating bootstrap connection to [::ffff:139.59.234.141]:2007: No connection could be made because the target machine actively refused it
[2018-02-16 19:03:29.512559]: Error initiating bootstrap connection to [::ffff:76.10.159.28]:7075: The I/O operation has been aborted because of either a thread exit or an application request
[2018-02-16 19:03:29.514060]: Error initiating bootstrap connection to [::ffff:68.173.166.161]:7075: The I/O operation has been aborted because of either a thread exit or an application request
[2018-02-16 19:03:29.514560]: Error initiating bootstrap connection to [::ffff:40.68.192.231]:1024: The I/O operation has been aborted because of either a thread exit or an application request
[2018-02-16 19:03:29.517060]: Error initiating bootstrap connection to [::ffff:207.172.164.42]:7075: The I/O operation has been aborted because of either a thread exit or an application request
[2018-02-16 19:03:29.756091]: Connection established to [::ffff:45.32.95.218]:7075
[2018-02-16 19:03:29.813098]: Connection established to [::ffff:80.211.189.164]:7075
[2018-02-16 19:03:30.517757]: Error initiating bootstrap connection to [::ffff:172.10.163.93]:7075: The I/O operation has been aborted because of either a thread exit or an application request
[2018-02-16 19:03:30.519711]: Error initiating bootstrap connection to [::ffff:192.81.216.141]:7075: The I/O operation has been aborted because of either a thread exit or an application request
[2018-02-16 19:03:30.613823]: Aborting frontier req because it was too slow
[2018-02-16 19:03:30.613823]: frontier_req failed, reattempting
.......
[2018-02-16 19:50:20.355238]: UDP Receive error: No connection could be made because the target machine actively refused it
[2018-02-16 19:50:30.503033]: Found a representative at [::ffff:138.68.170.107]:7075
[2018-02-16 19:50:38.060273]: Found a representative at [::ffff:185.239.238.183]:7075
[2018-02-16 19:50:59.997002]: UDP Receive error: The network location cannot be reached. For information about network troubleshooting, see Windows Help
[2018-02-16 19:51:11.352802]: Found a representative at [::ffff:174.138.48.26]:7075
[2018-02-16 19:51:14.608394]: UDP Receive error: No connection could be made because the target machine actively refused it
[2018-02-16 19:51:20.117540]: Found a representative at [::ffff:192.82.109.90]:7075
[2018-02-16 19:51:22.327822]: UDP Receive error: The network location cannot be reached. For information about network troubleshooting, see Windows Help
[2018-02-16 19:51:38.799518]: UDP Receive error: The network location cannot be reached. For information about network troubleshooting, see Windows Help
[2018-02-16 19:51:55.596319]: Found a representative at [::ffff:159.203.100.236]:7075
[2018-02-16 19:52:01.181267]: Found a representative at [::ffff:46.101.156.180]:7075
[2018-02-16 19:52:13.538125]: Found a representative at [::ffff:154.16.255.192]:7075
[2018-02-16 19:52:14.426743]: Found a representative at [::ffff:91.218.230.179]:7075
[2018-02-16 19:52:15.335354]: Found a representative at [::ffff:195.201.16.85]:7075
[2018-02-16 19:52:16.672521]: UDP Receive error: The network location cannot be reached. For information about network troubleshooting, see Windows Help
[2018-02-16 19:52:22.232568]: Found a representative at [::ffff:62.92.28.210]:7075
[2018-02-16 19:52:22.338082]: Found a representative at [::ffff:46.101.84.86]:7075
[2018-02-16 19:52:22.340583]: Found a representative at [::ffff:46.101.84.86]:7075
Did it exit at all after some time? I might be seeing the same on Linux: after closing the wallet window the process stays alive for many more minutes, continuously writing to disk. This is in the situation where the node isn't fully synced yet.
It's because there's a queue of blocks being processed. There was a patch (https://github.com/nanocurrency/raiblocks/pull/595), but it needs more work.
@paulmelis nope, I waited 3 hours, it was still there. indeed it was around 5.9M blocks (160k'ish left)
@cryptocode ok, so basically have to wait for 10.0.2
I might have the same problem. Im on OSX 10.13.3. Each time i open the wallet it seems to work fine until i try to close the app.. then it stop responding and i have to force quit.
Same problem with the latest ubuntu 64 and wallet v12.1
just updated to v13, the process will exit after a couple of minutes of closing it