Darrell Anderson via tde-users wrote:
I looked into that and confirmed Firefox takes about 10 to 12 seconds to fully terminate. On a 4-core system with an nvme disk.
It sounds great, that you narrowed down the issue. Firefox is writing a lot of things to disk and/or internal database, so that you can restore the session the next time you start. I usually never close it before exit because on next start/login it is spawned automatically by TDE and it asks me to restore the previous session or it just restores all windows automatically. It is a beast that takes it's time. My bet is that it takes 10-12sec to write to the internal sqlite database. You can use strace -fp <firefox pid> to see what it is doing (of course you must login on the console outside TDE :-)