Clear next update promise when resetting ViewRegistry

This commit is contained in:
Nathan Sobo
2015-11-07 17:25:52 -07:00
parent 1a8adbb4e1
commit 54a9012796

View File

@@ -203,6 +203,8 @@ class ViewRegistry
@documentReaders = []
@documentWriters = []
@documentPollers = []
@nextUpdatePromise = null
@resolveNextUpdatePromise = null
if @animationFrameRequest?
cancelAnimationFrame(@animationFrameRequest)
@animationFrameRequest = null