Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

Unable to properly close Atom when using atom-latex #417

Closed
amyspark opened this issue Sep 17, 2017 · 2 comments · Fixed by #422
Closed

Unable to properly close Atom when using atom-latex #417

amyspark opened this issue Sep 17, 2017 · 2 comments · Fixed by #422
Assignees
Labels

Comments

@amyspark
Copy link

amyspark commented Sep 17, 2017

Atom is unable to be closed properly when after using atom-latex. It ends up in a broken state:

test

Atom version: 1.21.0-beta.0 (Windows x64)
atom-latex version: 0.47.0

C:\Users\Amalia\.atom\packages\latex\lib\main.js:95 Uncaught (in promise) ReferenceError: latex is not defined
    at Disposable.disposalAction (file:///C:/Users/Amalia/.atom/packages/latex/lib/main.js:65:11)
    at Disposable.module.exports.Disposable.dispose (C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\node_modules\event-kit\lib\disposable.js:24:22)
    at C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\node_modules\service-hub\node_modules\event-kit\lib\composite-disposable.js:25:35
    at Set.forEach (native)
    at CompositeDisposable.module.exports.CompositeDisposable.dispose (C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\node_modules\service-hub\node_modules\event-kit\lib\composite-disposable.js:24:32)
    at Provider.module.exports.Provider.destroy (C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\node_modules\service-hub\lib\provider.js:45:45)
    at Disposable.disposalAction (C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\node_modules\service-hub\lib\service-hub.js:36:26)
    at Disposable.module.exports.Disposable.dispose (C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\node_modules\service-hub\node_modules\event-kit\lib\disposable.js:26:22)
    at C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\node_modules\event-kit\lib\composite-disposable.js:27:35
    at Set.forEach (native)
    at CompositeDisposable.module.exports.CompositeDisposable.dispose (C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\node_modules\event-kit\lib\composite-disposable.js:26:32)
    at Package.module.exports.Package.deactivateResources (C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\src\package.js:860:20)
    at Package.module.exports.Package.deactivate (C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\src\package.js:804:18)
    at PackageManager.deactivatePackage (C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\src\package-manager.js:771:43)
    at Promise.all.getLoadedPackages.map.pack (C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\src\package-manager.js:754:67)
    at Array.map (native)
    at config.transactAsync (C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\src\package-manager.js:754:50)
    at Config.module.exports.Config.transactAsync (C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\src\config.js:346:24)
    at PackageManager.deactivatePackages (C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\src\package-manager.js:753:29)
    at C:\Users\Amalia\AppData\Local\atom\app-1.21.0-beta0\resources\app\src\atom-environment.js:811:47
@yitzchak
Copy link
Collaborator

Thanks for reporting the issue! We will look into it and try to reproduce the problem.

@yitzchak
Copy link
Collaborator

I have reproduced this bug and have a fix in the works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants