Bugfix in logout
parent
5f0ec2d533
commit
2db1b6a1f8
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue