I have a jdm 2007 subaru legacy 6mt
so i had disconnected the battery for like 10min then connected again and this happens.
when slowing down in a traffic jam, after pressing the clutch revs drop till it switches off. whenever the engine isnt connected to gearbox revs drop and car goes off if its in motion or coming to a stop. but at start up (hot) the revs go up then drop below idling as if switching off then they bounce back to normal idling position. this problem wasnt there before diconnecting the battery. if anyone has ever experienced this or knows the solution, please help.