mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Remove view when package is deactivated
This commit is contained in:
committed by
probablycorey
parent
2ae494999c
commit
645aa65e9b
@@ -23,10 +23,13 @@ module.exports =
|
||||
editSession.lastOpened = state[editSession.getPath()]
|
||||
|
||||
deactivate: ->
|
||||
@loadPathsTask?.terminate()
|
||||
@loadPathsTask = null
|
||||
@fuzzyFinderView?.cancel()
|
||||
@fuzzyFinderView = null
|
||||
if @loadPathsTask?
|
||||
@loadPathsTask.terminate()
|
||||
@loadPathsTask = null
|
||||
if @fuzzyFinderView?
|
||||
@fuzzyFinderView.cancel()
|
||||
@fuzzyFinderView.remove()
|
||||
@fuzzyFinderView = null
|
||||
@projectPaths = null
|
||||
|
||||
serialize: ->
|
||||
|
||||
Reference in New Issue
Block a user