diff --git a/js/views/conversation_list_item_view.js b/js/views/conversation_list_item_view.js index ec56ad908..f8314c499 100644 --- a/js/views/conversation_list_item_view.js +++ b/js/views/conversation_list_item_view.js @@ -25,7 +25,9 @@ this.listenTo(this.model.messageCollection, 'add remove', updateLastMessage); this.listenTo(this.model, 'newmessage', updateLastMessage); - extension.windows.onClosed(this.stopListening.bind(this)); + extension.windows.onClosed(function() { + this.stopListening(); + }.bind(this)); this.timeStampView = new Whisper.TimestampView({brief: true}); this.model.updateLastMessage(); },