Skip to content

Don't access event after it was deleted

Tobias Fella requested to merge work/tobias/events-crash into master
  • NeoChat stores pointer to event
  • Event is replaced
  • libQuotient deletes the event and notifies us that the event changes
  • We're accessing the event to check its id
  • Boom

Make this not boom by accessing the ID that we're additionally storing anyway.

Merge request reports

Loading