I remade the WanBlockswap node to run on Wan 2.2 and needed this little synchronizer to make the blockswap run with gguf models in the WanVideoLooper node. Without these few lines, there would be some wrong model block offloads inbetween the looped runs and comfyui needs to be restarted.
I'll upload my updated Wan22Blockswap node later this day, I am just running some tests to check some stuff.
Added additional node for prompts, WanVideoLooper Prompts that enables multiline, multiprompts for infinite generation. Added color match last frame option too.