Originally Posted by DagoMaino
220K resistor to ground on the output should heal it...
Agreed, part of the circuit is left floating when switched out so gathers a charge. This charge becomes a current that goes into the audio path when switched back in, causing the thump.
Resistor will get rid of that charge without loading the circuit negatively.