Reseting the scene makes InputUpdate do more and more calls

Hi, i’m having a problem that whenever i reset the game scene, the InputUpdate function start to scaling the number of calls in the game, making the game lag in each input i gave after some resets.
I tried to delete the player before starting other scene, changed the input reading to event reading, but i just don’t know how to fix that.

i’ll appreciate feedback, thanks.
Ps: it’s my first time asking in the forum, so if need more information about pls tell.

Can you share with us some code?