-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
You're the boos here.
net-core-injector/Bootstrapper/src/library.cpp
Lines 81 to 86 in 9b456fd
| /// Success_HostAlreadyInitialized = 0x00000001 | |
| /// @see https://github.com/dotnet/runtime/blob/main/docs/design/features/host-error-codes.md | |
| if (rc != 1 || ctx == nullptr) { | |
| hostfxr_close_fptr(ctx); | |
| return InitializeResult::InitializeRuntimeConfigError; | |
| } |
Can you explain why we treat rc == 0 as failure?
I don't get why it won't be ok to treat rc == 0 as success.
Maybe leave a comment about it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels