Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix random crash (#204) #205

Merged
merged 2 commits into from
Aug 19, 2023
Merged

Fix random crash (#204) #205

merged 2 commits into from
Aug 19, 2023

Conversation

GoldenretriverYT
Copy link
Contributor

@GoldenretriverYT GoldenretriverYT commented Aug 15, 2023

This fixes the crash as shown in #204

@GoldenretriverYT GoldenretriverYT changed the title Fix random crash ( Fix random crash (#204) Aug 15, 2023
var v = reader.GetValue(i);

if(v == null) {
Console.WriteLine("WARNING: Tried to insert null value");
Copy link
Member

Choose a reason for hiding this comment

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

Do we need the Console.WriteLine here?

We should only keep it if this fix is not final and the actual cause of the issue must be resolved at a later time.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well I can remove it because I believe this fix will be permanent as the affected area is only for debugging I think and I highly doubt that the non-existant argument is actually required in the debug data

@quajak
Copy link
Member

quajak commented Aug 19, 2023

Thank you for the fix!

@quajak quajak merged commit b8a3436 into CosmosOS:master Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants