Remove extra subscribeToFile() call

This was causing an event listener to leak
on each call to save()

Closes #152
This commit is contained in:
Kevin Sawicki
2013-01-22 14:42:13 -08:00
parent f4787717df
commit 39fd4f7059
2 changed files with 16 additions and 1 deletions

View File

@@ -242,7 +242,6 @@ class Buffer
@setPath(path)
@cachedDiskContents = @getText()
@file.write(@getText())
@subscribeToFile()
@trigger 'saved'
isModified: ->