Skip to content

Commit

Permalink
Enable launcher command after exiting (#210)
Browse files Browse the repository at this point in the history
* Added exit status handling before launching

* Moved exit handling to end
  • Loading branch information
EduardGomezEscandell authored Jun 20, 2022
1 parent fa3e676 commit 0176e44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DistroLauncher/DistroLauncher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,8 @@ int wmain(int argc, wchar_t const *argv[])
}
}

// Check and run any cleanup instruction
Oobe::ExitStatusHandling();

return SUCCEEDED(hr) ? exitCode : 1;
}

0 comments on commit 0176e44

Please sign in to comment.