Issue #3514197 by acbramley, nicxvan: ModuleHandler::resetImplementations should reset $this->invokeMap
#487735
mentioned in commit 09633691