Skip to content

Commit

Permalink
embedded: fix core app init
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollie committed Feb 5, 2025
1 parent 01d4fd4 commit 81f10bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/apprt/embedded.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,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);
Expand Down

0 comments on commit 81f10bc

Please sign in to comment.