Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Cleaning up leftovers in native code #2857

Merged
merged 2 commits into from
Sep 29, 2015
Merged

Cleaning up leftovers in native code #2857

merged 2 commits into from
Sep 29, 2015

Conversation

moozzyk
Copy link
Contributor

@moozzyk moozzyk commented Sep 28, 2015

Fixes #1603, #1043


g_clrBootstrapper = NULL;
data->exitcode = bootstrapper->CallApplicationMain(data->argc, data->argv);
}
else
{
printf_s("Failed to initialize runtime (%x)", hr);
data->exitcode = hr;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we set the exit code anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only return exitcode if hr is S_OK (https://github.com/aspnet/dnx/blob/dev/src/dnx/pal.win32.cpp#L146) so it is not needed here because hr is not S_OK.

@davidfowl
Copy link
Member

:shipit:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants