Cloth diaper users

GlendaG • Started TTCing for #1 in Nov 2013 Married June 2014 stopped TTCing Dec 2015 now just living
I have a question. I like the idea of being Eco friendly using cloth diapers but I can't wrapt head around putting poop in my washer then washing other cloths in that same washer later. How in the world did you manage to get over that issue? Or what do you do before the washing machine to make you feel the next load won't have bacteria from the diaper?