What if I leave my employeer when H1B is in processing stage?

I have an extension filed for H1B which is currently in RFE status.

I do have the receipt #.

What if I leave my current employeer?

Do I risk the opportunity for H1B visa in future?

Would having just the receipt number be an issue if my new employeer ever wants to process my H1B/extension?

Regards,

NP