Can't shutdown when press CTRL-C #5

Open
feisan opened this Issue May 22, 2013 · 1 comment

Comments

Projects
None yet
2 participants

feisan commented May 22, 2013


import gevent

def run_forever():
    while True:
        gevent.sleep(1)

def main():
    rf = gevent.spawn(run_forever)
    rf.join()

if __name__ == "__main__":
    main()

when press CTRL-C

From callback <bound method loop._prepare_callback of <pypycore.loop object at 0x0000000104027ec0>>:
Traceback (most recent call last):
File ~/pypycore/pypycore.py", line 368, in _prepare_callback
self._run_callbacks()
KeyboardInterrupt

kebot commented May 23, 2013

I can not stop the server started by gevent-socket.io with Ctrl-C

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment