Connection Not Getting Closed

akshay07
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
  • rakeshr
    @akshay07
    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.
Sign In or Register to comment.