mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-20 21:33:10 -07:00
async for SetVariable
This commit is contained in:
parent
3462bd8c7e
commit
4a9723feaf
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ namespace GraphControl
|
|||
if (m_graph != nullptr && m_renderMain != nullptr)
|
||||
{
|
||||
m_graph->SetArgValue(variableName->Data(), newValue);
|
||||
m_renderMain->RunRenderPass();
|
||||
[](RenderMain ^ renderMain) -> winrt::fire_and_forget { co_await renderMain->RunRenderPassAsync(); }(m_renderMain);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue