Skip to content

Commit

Permalink
Fix segfault with DMD
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunn1 committed Oct 27, 2017
1 parent 018b3b0 commit d705f04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/gx/tilix/application.d
Original file line number Diff line number Diff line change
Expand Up @@ -378,12 +378,12 @@ private:
}
}

int onCommandLine(ApplicationCommandLine acl, GApplication) {
int onCommandLine(Scoped!ApplicationCommandLine acl, GApplication) {
trace("App processing command line");
scope (exit) {
cp.clear();
acl.setExitStatus(cp.exitCode);
acl.destroy();
//acl.destroy();
}
cp = CommandParameters(acl);
if (cp.exit) {
Expand Down

0 comments on commit d705f04

Please sign in to comment.