I am trying to close the connection sometimes by pressing ctrl+c but its not getting closed the program is running continuously, but ticks aren't being stored till the time I click the close button and restart the program. can I know the reason why its happening
pressing ctrl+c but its not getting closed the program is running continuously
We won't be able to comment on this until we know your complete setup. It depends on a lot of other dependencies, a few of them like what kind of interpreter are you run your program on? Are you using any continuous conditional statements like while loops, etc? Also, if you are looking to kill your program by ctrl+c, i.e using KeyboardInterrupt. You may also consider properly handling KeyboardInterrupt in our program. This article will help you to understand more on this.
Also, if you are looking to kill your program by ctrl+c, i.e using
KeyboardInterrupt
. You may also consider properly handlingKeyboardInterrupt
in our program. This article will help you to understand more on this.