Do replicas turned into masters still sync changes that weren't replicated yet?

Hi Redis community,

Let’s say I have a busy master A and a replica B, and I issue a REPLICAOF NO ONE command on B to turn it into a master, while there are still changes to A that weren’t yet synced to B.

Will these changes still be propagated to B, or did syncing instantly stopped when I issued the command (meaning B never actually reaches the state A had when I issued the command)?