core: make sure we never incref events more than once and never decref them...
core: make sure we never incref events more than once and never decref them more than we increfed them. Thanks to Cyril Bay. This fixes Cyril's test as well as test__server_pywsgi.py/test__server.TestDefaultSpawn.test_error_in_spawn which DECREFed event twice (detected by python-dbg).
Showing
Please register or sign in to comment