up ctx
panics if trying to set the same context
#545
Labels
bug
Something isn't working
needs-epic-link
Needs a link to an epic
needs-points-label
Needs a story points label
needs-project
Needs to be added to a project board
What happened?
@avalanche123 found that
up ctx
panics under certain conditions:It appears that when comparing the new context to the existing current context, it will return
nil
for the new config pointer. Since we don't do a nil check before updating the config, this causes the panic.Ideally we'd check to see if the context matches and do a safe no-op, since it doesn't make sense to update anything.
How can we reproduce it?
What environment did it happen in?
The text was updated successfully, but these errors were encountered: