fix: deinit platform before resetting node env (#23116)
fix: deinit platform before resetting node env (#23116)


seanchas116/electron,electron/electron,bpasero/electron,seanchas116/electron,electron/electron,electron/electron,gerhardberger/electron,gerhardberger/electron,seanchas116/electron,bpasero/electron,electron/electron,gerhardberger/electron,electron/electron,gerhardberger/electron,gerhardberger/electron,electron/electron,bpasero/electron,bpasero/electron,electron/electron,seanchas116/electron,seanchas116/electron,bpasero/electron,seanchas116/electron,bpasero/electron,bpasero/electron,gerhardberger/electron,gerhardberger/electron