Taking new job while H1B is in processing?

I am currently in US on F1 & my employer had filed for an H1B & it was selected in the lottery. The situations have come (because of project completion & delay in USCIS process) that I have to take another job with some other employer.

How does that affect (adversely) my current H1B application?