Bruce,
Nial & Lyon are both correct. Even small changes in fuel mixture, fuel octane, timing, can affect this problem.
see this link;
https://www.faqs.org/faqs/autos/gasoline-faq/part3/section-2.html
last paragraph of 8.2
Quoted below:
"Run-on is the tendency of an engine to continue running after the ignition
has been switched off. It is usually caused by the spontaneous ignition of
the fuel-air mixture, rather than by surface ignition from hotspots or
deposits, as commonly believed. The narrow range of conditions for
spontaneous ignition of the fuel-air mixture ( engine speed, charge
temperature, cylinder pressure ) may be created when the engine is switched
off. The engine may refire, thus taking the conditions out of the critical
range for a couple of cycles, and then refire again, until overall cooling
of the engine drops it out of the critical region. The octane rating of the
fuel is the appropriate parameter, and it is not rare for an engine to
require a higher Octane fuel to prevent run-on than to avoid knock [27,28]."
D
[ 03-30-2004: Message edited by: Dave Russell ]</p>