diff --git a/ios/src/FilamentViewer.cpp b/ios/src/FilamentViewer.cpp index 1c52304e..6908f210 100644 --- a/ios/src/FilamentViewer.cpp +++ b/ios/src/FilamentViewer.cpp @@ -701,6 +701,7 @@ namespace polyvox _swapChain = nullptr; Log("Swapchain destroyed."); } + _engine->flushAndWait(); } void FilamentViewer::clearAssets()