If you are talking to someone and someone you know walks past, what is the correct behaviour for that situation?

?2020-12-16T21:22:52Z

Say "Hi" to the person who is passing, then turn back to the first person. Don't start a conversation with the new person. If you need to talk to them, you can say, "Can you wait just a minute? I need to talk to you." Then finish your conversation with the first person. 

?2020-12-16T16:38:07Z

Acknowledge the person walking past and then apologize to the person your speaking with for the diversion.