| 649 | } |
| 650 | } |
| 651 | |
| 652 | void RuntimeManager::setAttributionResolver(const Ref<AttributionResolver>& attributionResolver) { |
| 653 | std::lock_guard<Mutex> guard(_mutex); |
| 654 | _attributionResolver = attributionResolver; |
| 655 | auto runtimes = getAllRuntimes(guard); |
| 656 | for (const auto& runtime : runtimes) { |
| 657 | runtime->getContextManager().setAttributionResolver(attributionResolver); |
| 658 | } |
| 659 | } |
| 660 | |
| 661 | void RuntimeManager::addListener(const Ref<IRuntimeManagerListener>& listener) { |
no outgoing calls