atom-minimap / minimap-git-diff

A minimap binding for the atom git-diff package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This TextEditor has been destroyed

xeor opened this issue · comments

I'm updating my git files outside Atom.io, but sometimes it looks like the minimap git plugin gets confused.
Sometimes it helps to close and reopen the file, but sometimes not.
This error is popping up from time to time when I save a file after I have commited and pushed it.

Uncaught Error: This TextEditor has been destroyed
  /Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:989

module.exports.DisplayBuffer.screenPositionForBufferPosition
  /Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:989

module.exports.Marker.getHeadScreenPosition
  /Applications/Atom.app/Contents/Resources/app/src/marker.js:211

Marker
  /Applications/Atom.app/Contents/Resources/app/src/marker.js:45

module.exports.DisplayBuffer.getMarker
  /Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:1188

module.exports.DisplayBuffer.markBufferRange
  /Applications/Atom.app/Contents/Resources/app/src/display-buffer.js:1220

module.exports.TextEditor.markBufferRange
  /Applications/Atom.app/Contents/Resources/app/src/text-editor.js:1231

module.exports.MinimapGitDiffBinding.markRange
  minimap-git-diff-binding.coffee:62

module.exports.MinimapGitDiffBinding.addDecorations
  minimap-git-diff-binding.coffee:53

module.exports.MinimapGitDiffBinding.updateDiffs
  minimap-git-diff-binding.coffee:42

(anonymous function)
  minimap-git-diff-binding.coffee:1

processImmediate
  timers.js:374

I'm using:

  • Atom: 0.152.0
  • Minimap: 3.4.5
  • Minimap Git Diff: 3.0.5
  • OSX: 10.10.1

Was fixed in the last version, I forgot to link the issue in the commit.