set FilamentApp.instance to null on disposal

This commit is contained in:
Nick Fisher committed 2025-03-28 15:55:35 +08:00
1 parent 7c936547aa
commit 968e2e508d
1 file changed
+1
@@ -226,6 +226,7 @@ class FFIFilamentApp extends FilamentApp<Pointer> {
RenderTicker_destroy(renderTicker);
calloc.free(viewsPtr);
FilamentApp.instance = null;
}
///