I recently opened up a linear power supply and found out it has a resistor of 8.2M ohm between the primary winding (specifically in the neutral) and the secondary winding of the step-down transformer.
What is that resistor doing there?
I couldn't fine anything related on the internet.