You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Renderer.swift, the renderSync function modifies state variables (isRendering, blocks, and rendered) while rendering, which triggers SwiftUI’s warning:
“Publishing changes from within view updates is not allowed, this will cause undefined behavior.”
This happens at the following lines:
• isRendering = true (line 151)
• blocks = renderedBlocks (line 161)
• isRendering = false (line 162)
• rendered = true (line 163)
The text was updated successfully, but these errors were encountered:
In Renderer.swift, the renderSync function modifies state variables (isRendering, blocks, and rendered) while rendering, which triggers SwiftUI’s warning:
This happens at the following lines:
• isRendering = true (line 151)
• blocks = renderedBlocks (line 161)
• isRendering = false (line 162)
• rendered = true (line 163)
The text was updated successfully, but these errors were encountered: