fix order of defer

pull/5509/head
Jeffrey C. Ollie 2025-02-05 11:30:46 -06:00 committed by Mitchell Hashimoto
parent c6f23bbb32
commit 3c49d87751
1 changed files with 1 additions and 1 deletions

View File

@ -99,8 +99,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;