Pull the dryer away from the wall and unplug the power cord from the dryer outlet. Always unplug an appliance before beginning the troubleshooting procedure, for your safety.If an electric or gas-heated clothes dryer continues to run after the door is open, the door safety switch is stuck in the closed position.ull the dryer away from the wall and unplug the power cord from the dryer outlet. Always unplug an appliance before beginning the troubleshooting procedure, for your safety.