Bugfix in logout
parent
5f0ec2d533
commit
2db1b6a1f8
|
@ -307,7 +307,7 @@ module.exports.logout = function () {
|
||||||
shared.isLogged = false;
|
shared.isLogged = false;
|
||||||
|
|
||||||
// Gracefully close shared browser
|
// Gracefully close shared browser
|
||||||
if (!shared.isolation) {
|
if (!shared.isolation && _browser !== null) {
|
||||||
_browser.close()
|
_browser.close()
|
||||||
.then(() => _browser = null);
|
.then(() => _browser = null);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue