| 694 | } |
| 695 | |
| 696 | viewNodeTree->getContext()->onRendered(); |
| 697 | }, |
| 698 | [=]() { |
| 699 | if (_listener != nullptr) { |
| 700 | _listener->onContextRendered(*this, viewNodeTree->getContext()); |
| 701 | } |
| 702 | }); |
| 703 | #endif |
| 704 | } |
| 705 | |
| 706 | void Runtime::receivedCallActionMessage(const ContextId& contextId, |
| 707 | const StringBox& actionName, |
| 708 | const Ref<ValueArray>& parameters) { |
| 709 | auto context = _contextManager.getContext(contextId); |
| 710 | if (context == nullptr) { |
| 711 | VALDI_WARN(*_logger, "Cannot call action: Context {} was already destroyed.", contextId); |
| 712 | return; |
| 713 | } |
| 714 | auto viewNodeTree = _viewNodeManager.getViewNodeTreeForContextId(context->getContextId()); |
no test coverage detected