set FilamentApp.instance to null on disposal

This commit is contained in:
Nick Fisher
2025-03-28 15:44:07 +08:00
parent 7c936547aa
commit 968e2e508d

View File

@@ -226,6 +226,7 @@ class FFIFilamentApp extends FilamentApp<Pointer> {
RenderTicker_destroy(renderTicker);
calloc.free(viewsPtr);
FilamentApp.instance = null;
}
///