You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
Error deactivating package 'git-plus' TypeError: disposable.dispose is not a function
at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/composite-disposable.js:25:29
at Set.forEach (native)
at CompositeDisposable.module.exports.CompositeDisposable.dispose (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/composite-disposable.js:24:26)
at Object.module.exports.deactivate (/Users/sorear/.atom/packages/git-plus/lib/git-plus.coffee:133:20)
at Package.module.exports.Package.deactivate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:647:21)
at PackageManager.module.exports.PackageManager.deactivatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:593:12)
at PackageManager.module.exports.PackageManager.update (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:366:23)
at PackageCard.module.exports.PackageCard.update (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-card.js:656:34)
at HTMLButtonElement.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-card.js:300:24)
at HTMLButtonElement.jQuery.event.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLButtonElement.elemData.handle (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/node_modules/jquery/dist/jquery.js:4121:28)
The issue appears to be the @subscriptions.add call at
, which adds a JQuery object to an array of Atom disposables; I suspect that the @subscriptions.add may be completely unneeded, since the event listeners will be cleaned up when the branch node is removed from the DOM anyway, but I could be wrong there.
I've noticed two other issues which are probably related but I can't prove it:
When updating git-plus, the spinner continues to say the update is in progress for an inordinately long time (minutes); maybe the crash is causing problems with event delivery?
Sometimes after an update I'll have two copies of the "pushpin" icon in my status bar.
The text was updated successfully, but these errors were encountered:
To reproduce:
git-plus
is fully activegit-plus
Observed stack trace:
The issue appears to be the
@subscriptions.add
call atgit-plus/lib/git-plus.coffee
Line 156 in e9cbc64
@subscriptions.add
may be completely unneeded, since the event listeners will be cleaned up when the branch node is removed from the DOM anyway, but I could be wrong there.I've noticed two other issues which are probably related but I can't prove it:
git-plus
, the spinner continues to say the update is in progress for an inordinately long time (minutes); maybe the crash is causing problems with event delivery?The text was updated successfully, but these errors were encountered: