mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Clear next update promise when resetting ViewRegistry
This commit is contained in:
@@ -203,6 +203,8 @@ class ViewRegistry
|
||||
@documentReaders = []
|
||||
@documentWriters = []
|
||||
@documentPollers = []
|
||||
@nextUpdatePromise = null
|
||||
@resolveNextUpdatePromise = null
|
||||
if @animationFrameRequest?
|
||||
cancelAnimationFrame(@animationFrameRequest)
|
||||
@animationFrameRequest = null
|
||||
|
||||
Reference in New Issue
Block a user