Skip to content

Replace null pointer function pointer call with helpful exception.#1866

Merged
manodasanW merged 5 commits intomasterfrom
manodasanw/initrcwhelper
Nov 11, 2024
Merged

Replace null pointer function pointer call with helpful exception.#1866
manodasanW merged 5 commits intomasterfrom
manodasanw/initrcwhelper

Conversation

@manodasanW
Copy link
Member

Previously in these scenarios you would have got a null reference exception which may not have been obvious why when looking at how the stack is reported in VS. Now you will instead get a helpful exception.

@manodasanW manodasanW requested a review from Sergio0694 November 9, 2024 23:29
Copy link
Member

@Sergio0694 Sergio0694 left a comment

Choose a reason for hiding this comment

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

Pushed just some minor tweaks, but love this change! Thank you 🙂

@manodasanW manodasanW merged commit 58c60a9 into master Nov 11, 2024
@manodasanW manodasanW deleted the manodasanw/initrcwhelper branch November 11, 2024 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants