diff options
Diffstat (limited to 'waitress/task.py')
-rw-r--r-- | waitress/task.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/waitress/task.py b/waitress/task.py index 2df0989..d6d18a7 100644 --- a/waitress/task.py +++ b/waitress/task.py @@ -83,13 +83,6 @@ class ThreadedTaskDispatcher(object): 'Exception when servicing %r' % task) if isinstance(e, JustTesting): break - except KeyboardInterrupt as e: - # we translate a KeyboardInterrupt exception raised in a - # thread to mean call thread.interrupt_main(), which will - # cause a KeyboardInterrupt to be raised in the main - # process (eventually causing the process to exit). - thread.interrupt_main() - break finally: with self.thread_mgmt_lock: self.stop_count -= 1 |