Skip to content

Commit

Permalink
fix order of defer
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollie committed Feb 5, 2025
1 parent 395c0b3 commit 01d4fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main_ghostty.zig
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ pub fn main() !MainReturn {

// Create our app state
var app: App = undefined;
defer app.deinit();
try app.init(alloc);
defer app.deinit();

// Create our runtime app
var app_runtime: apprt.App = undefined;
Expand Down

0 comments on commit 01d4fd4

Please sign in to comment.