mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Null out file when unwatching
This commit is contained in:
@@ -110,6 +110,7 @@ class ThemeManager
|
||||
#Private:
|
||||
unwatchUserStylesheet: ->
|
||||
@userStylesheetFile?.off()
|
||||
@userStylesheetFile = null
|
||||
@removeStylesheet(@userStylesheetPath) if @userStylesheetPath?
|
||||
|
||||
# Private:
|
||||
|
||||
Reference in New Issue
Block a user