Did you mean stuck at teamwin logo? If so, did you format data before switching slots? By my experience, it happens with roms that have file-based encryption enabled. Twrp will take a long time to boot if I switch slots and reboot recovery, or if I swipe factory reset (not format data) and reboot without switching slot. After formatting, it returns to normal.