91 supra comp 351 pcm

starts great when cold, runs perfectly. however when you stop after a run it just turns over like it doesnt have any spark. if it cools completely down it will start again. could it be something in that pcm system? anyone else have this problem? thanks.