mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #58 from keepassxreboot/fix_listener_leak
Fix listener leaking
This commit is contained in:
commit
a79f27319a
1 changed files with 1 additions and 1 deletions
|
|
@ -1176,7 +1176,7 @@ cip.detectDatabaseChange = function() {
|
|||
browser.runtime.sendMessage({
|
||||
action: 'check_databasehash'
|
||||
}).then((response) => {
|
||||
if (response.new === 'no-hash') {
|
||||
if (response.new === 'no-hash' && response.old !== 'no-hash') {
|
||||
cipEvents.clearCredentials();
|
||||
|
||||
browser.runtime.sendMessage({
|
||||
|
|
|
|||
Loading…
Reference in a new issue