Merge "Fix the DequeuePendingReference crash."