Skip to content

Commit

Permalink
Fixes issue #18.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilker Temir committed Jul 11, 2015
1 parent d102ed4 commit 4de01f0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chrome/content/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@

const DB_NAME = 'thundersec.sqlite';
const API_URL = 'https://www.ilkertemir.com/thundersec/api/v1/';
const VERSION = '1.0.3';
const VERSION = '1.0.4';
// Send generic stats every hour
const STAT_INTERVAL = 1*60*60*1000;
2 changes: 2 additions & 0 deletions chrome/content/thundersec.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ function initialize() {
}
quitObserver.prototype = {
observe: function(subject, topic, data) {
// Close the database connection
connection.close();
// This has to be an async request while application is quitting
// Or Thunderbird will quit before the $.post completes
jQuery.ajaxSetup({async:false});
Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Description about="urn:mozilla:install-manifest">
<em:type>2</em:type> <!-- 2 : Extension -->
<em:id>thundersec@community</em:id>
<em:version>1.0.3</em:version>
<em:version>1.0.4</em:version>
<em:name>ThunderSec</em:name>
<em:description>Provides security features for Mozilla Thunderbird. These include DNSBL and RBL support, DKIM and SPF failure verifications. DNSBL support can be used to leverage Spamhaus, Abuse.ch and other DNSBL/RBL databases, including custom ones.</em:description>
<em:iconURL>chrome://thundersec/content/images/thundersec.png</em:iconURL>
Expand Down

0 comments on commit 4de01f0

Please sign in to comment.