From 5c913fcaaa97a4c7c15c25e0a3584195bc5c04aa Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Fri, 12 Sep 2014 16:20:52 +0200 Subject: [PATCH] Destroy parts object when leaving log --- assets/scripts/app/views/log.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/scripts/app/views/log.coffee b/assets/scripts/app/views/log.coffee index 61e9e3cd..2f92104c 100644 --- a/assets/scripts/app/views/log.coffee +++ b/assets/scripts/app/views/log.coffee @@ -33,6 +33,7 @@ Travis.reopen console.log 'log view: will destroy' if Log.DEBUG parts = @get('log.parts') parts.removeArrayObserver(@, didChange: 'partsDidChange', willChange: 'noop') + parts.destroy() @lineSelector?.willDestroy() versionDidChange: (->