Switching from skilled worker visa

Hello Folks,
I have submitted the application for skilled worker visa dependent; I have applied by switching from skilled worker visa to skilled worker dependent and waiting for the decision now; However my previous skilled worker visa is still valid.

Could I resign while waiting for the decision? While they make the decision, would they consider about my current employer’s payroll is getting paid or not?

As I might not get paid once resigned.