mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Remove extra subscribeToFile() call
This was causing an event listener to leak on each call to save() Closes #152
This commit is contained in:
@@ -242,7 +242,6 @@ class Buffer
|
||||
@setPath(path)
|
||||
@cachedDiskContents = @getText()
|
||||
@file.write(@getText())
|
||||
@subscribeToFile()
|
||||
@trigger 'saved'
|
||||
|
||||
isModified: ->
|
||||
|
||||
Reference in New Issue
Block a user