From 294f17e491986a2f6298ab8a78dd778abab24ea5 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 10 Sep 2018 01:07:58 +0100 Subject: [PATCH] core: fix econtext on_start parameter, used by fork_test. --- mitogen/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitogen/core.py b/mitogen/core.py index 07cfcf37..a6ee1896 100644 --- a/mitogen/core.py +++ b/mitogen/core.py @@ -2008,7 +2008,7 @@ class Dispatcher(object): def run(self): if self.econtext.config.get('on_start'): - self.econtext.config['on_start'](self) + self.econtext.config['on_start'](self.econtext) _profile_hook('main', self._dispatch_calls)