Description of the issue:
How can this issue be reproduced?
Using Brave Browser on Ubuntu 16.04 issues the shutdown and restart closing session.
When using Brave Browser installed via repositories, the system stalls when trying to shutdown and/or restart the system. The stalling consists in when closing the user session. When it does, the desktop tries to be closed down, comes back open again, wait for about 30 seconds and only then the system restarts/reboot.
Brave Browser is not supposed to mess with anything in the system.
Brave Version( check
Version 1.32.106 Chromium: 96.0.4664.45 (Official version) 64 bits. It was happening on the latest versions before this one. I opened a Thread since i saw this bug but no one here has replied.
The solution was to remove Brave Browser, purge it and reinstall it via Snap.