save: missing condition on autoreload for simultaneously opened sessions
This commit is contained in:
parent
594261fd06
commit
d53a977f93
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ module.exports = {
|
|||
if (err) throw err
|
||||
console.log('Session file saved in '+ path)
|
||||
for (var id in ipc.clients) {
|
||||
if (id !== clientId) {
|
||||
if (id !== clientId && ipc.clients[id].sessionPath === path) {
|
||||
module.exports.sessionOpen({path: path}, id)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue