Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#52 closed task (fixed)

Ctrl + C forbidden

Reported by: zhangjr Owned by: zhangjr
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:
Blocked By: Blocking:
Parent ID: Parent Tickets:
Estimated Number of Hours: 0.0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0

Description

The "Ctrl+C" will cause some problems. The major one is that the clients info will not be saved after stopping the backend.

in wsgi.py

def ctrlc_handler(signum, frame):
    print ("What is Ctrl + C ?")

signal.signal(signal.SIGINT, ctrlc_handler)

Subtickets

Child Tickets

Change History (3)

comment:1 Changed 5 years ago by zhangjr

  • Owner changed from somebody to zhangjr
  • Status changed from new to assigned

comment:2 Changed 5 years ago by zhangjr

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:3 Changed 5 years ago by zhangjr

In debug mode, it will be ignored.

Note: See TracTickets for help on using tickets.