mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Merge pull request #6385 from atom/as-flaky-text-editor-component-specs
Stop polling document when clearing document requests
This commit is contained in:
@@ -186,6 +186,7 @@ class ViewRegistry
|
||||
@documentWriters = []
|
||||
@documentPollers = []
|
||||
@documentUpdateRequested = false
|
||||
@stopPollingDocument()
|
||||
|
||||
requestDocumentUpdate: ->
|
||||
unless @documentUpdateRequested
|
||||
|
||||
Reference in New Issue
Block a user