Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Change to use timeout instead of apply #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

criles25
Copy link

@criles25 criles25 commented Nov 1, 2017

My team is using angular-faye, and we have ran into an issue where we periodically get [$rootScope:inprog] $digest already in progress. The stack trace shows angular-faye calling $apply, which causes an error when another $digest or $apply is in progress.

If we use $timeout instead, it will safely trigger a $digest cycle.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant