embedded: fix core app init

This commit is contained in:
Jeffrey C. Ollie
2025-02-05 15:04:28 -06:00
committed by Mitchell Hashimoto
parent 3c49d87751
commit 1979fb92f4

View File

@@ -1318,6 +1318,7 @@ pub const CAPI = struct {
config: *const Config,
) !*App {
var core_app = try global.alloc.create(CoreApp);
try core_app.init(global.alloc);
errdefer {
core_app.deinit();
global.alloc.destroy(core_app);