mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-15 05:31:05 +00:00
fix order of defer
This commit is contained in:
committed by
Mitchell Hashimoto
parent
c6f23bbb32
commit
3c49d87751
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user