Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
David Wilson 407294cd79 issue #498: prevent crash on double 'disconnect' signal.
Fixes:

ERROR! [pid 1096] 23:31:48.363215 E mitogen: _broker_main() crashed
Traceback (most recent call last):
  File "/home/dmw/src/mitogen/mitogen/core.py", line 2917, in _broker_main
    self._loop_once()
  File "/home/dmw/src/mitogen/mitogen/core.py", line 2875, in _loop_once
    self._call(side.stream, func)
  File "/home/dmw/src/mitogen/mitogen/core.py", line 2860, in _call
    stream.on_disconnect(self)
  File "/home/dmw/src/mitogen/mitogen/parent.py", line 1161, in on_disconnect
    super(Stream, self).on_disconnect(broker)
  File "/home/dmw/src/mitogen/mitogen/core.py", line 1534, in on_disconnect
    fire(self, 'disconnect')
  File "/home/dmw/src/mitogen/mitogen/core.py", line 390, in fire
    func(*args, **kwargs)
  File "/home/dmw/src/mitogen/mitogen/parent.py", line 1794, in <lambda>
    func=lambda: self._on_stream_disconnect(stream),
  File "/home/dmw/src/mitogen/mitogen/parent.py", line 1810, in _on_stream_disconnect
    routes = self._routes_by_stream.pop(stream)
KeyError: mitogen.ssh.Stream('ssh.localhost:2236')
7 years ago
.ci ci: don't use the TTY->pipe hack except on Travis where it's needed. 7 years ago
.github github: tweak issue template. 7 years ago
ansible_mitogen issue #499: respect C.BECOME_ALLOW_SAME_USER. 7 years ago
docs issue #429: update Changelog. 7 years ago
examples core: many docstring updates and an example substitute for Channel 7 years ago
misc issue #429: teach sudo about every know i18n password string. 7 years ago
mitogen issue #498: prevent crash on double 'disconnect' signal. 7 years ago
tests issue #429: enable en_US locale to unbreak debops test. 7 years ago
.gitignore Add venvs/ to gitignore 7 years ago
.lgtm.yml compat: ignore LGTM checks on third party 8 years ago
.travis.yml issue #477: travis.yml typo. 7 years ago
LICENSE Add license text everywhere. 8 years ago
README.md Motivational shame badges back in README 7 years ago
dev_requirements.txt Split dev_requirements.txt up according to test mode. 7 years ago
preamble_size.py add --dump to preamble_size.py. 7 years ago
run_tests issue #477: add mitogen_py24 CI test type. 7 years ago
setup.cfg Ignore another annoying flake8 message. 8 years ago
setup.py Drop 'alpha' trove classifier 7 years ago
tox.ini tox: add py37 target. 7 years ago

README.md