From 48a852fb32a658ec28b2f488bf28f613b2ade4f5 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 5 Nov 2013 23:22:20 -0500 Subject: [PATCH] Bind fulltext shutdown listener to this --- chrome/content/zotero/xpcom/fulltext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/fulltext.js b/chrome/content/zotero/xpcom/fulltext.js index ab7a1b157e..e1330d7937 100644 --- a/chrome/content/zotero/xpcom/fulltext.js +++ b/chrome/content/zotero/xpcom/fulltext.js @@ -117,7 +117,7 @@ Zotero.Fulltext = new function(){ } this.startContentProcessor(); - Zotero.addShutdownListener(this.stopContentProcessor); + Zotero.addShutdownListener(this.stopContentProcessor.bind(this)); }