Skip to content

Commit eb8c17d

Browse files
committed
this takes care of gorhill#1443
1 parent 2c2dbfe commit eb8c17d

24 files changed

Lines changed: 1128 additions & 1201 deletions

platform/chromium/vapi-client.js

Lines changed: 197 additions & 186 deletions
Large diffs are not rendered by default.

platform/firefox/vapi-background.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,13 +410,15 @@ vAPI.storage = (function() {
410410
if ( typeof callback === 'function' && reason === 0 ) {
411411
callback(result);
412412
}
413+
result = null;
413414
},
414415
handleError: function(error) {
415416
console.error('SQLite error ', error.result, error.message);
416417
// Caller expects an answer regardless of failure.
417418
if ( typeof callback === 'function' ) {
418419
callback(null);
419420
}
421+
result = null;
420422
}
421423
});
422424
};

0 commit comments

Comments
 (0)