Console error when closing tor browser with about:preferences open
Steps to reproduce.
I came across this when testing !709 (merged) but I don't think this is caused by that patch.
- Open tor browser.
- Open "about:preferences".
- Close tor browser (without switching tabs).
See in the console:
TorProtocolService.flushSettings() on the "blur" of "about:preferences". In the steps to reproduce, the "blur" event is fired after the sockets are closed.
I'm questioning whether flushing on "blur" is the best idea anyway since blur would also be called when switching application windows or navigating the focus into the chrome.
CC @pierov seems like you might be interested in this.