Breastfeeding baby #1 what happens during labor of baby #2

I’m having all those thoughts this moment pregnant with baby #2 and just wondering what happens if baby #1 is still breastfeeding when I’m labor with baby #2 those hopefully 2 days or less how is baby #1 supposed to go to sleep with no breastfeeding etc how have you mommies done it