Bugfix in logout

pull/8/head
MillenniumEarl 2020-10-08 22:39:03 +02:00
parent 5f0ec2d533
commit 2db1b6a1f8
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ module.exports.logout = function () {
shared.isLogged = false;
// Gracefully close shared browser
if (!shared.isolation) {
if (!shared.isolation && _browser !== null) {
_browser.close()
.then(() => _browser = null);
}