am 10a8c9b2: Crash on deleting messaging thread

* commit '10a8c9b23ac380d728ecc839d753e26d9b21015a':
  Crash on deleting messaging thread