message: add some debug asserts for missing waiting locks
diff: @@ -365,6 +365,10 @@ void SetWaitingToHeld(void *c, OwnershipType ownership)
  {
  it->second.erase(tid);
  }
  + else
  + {
  + DbgAssert(!"Missing write lock waiting", );
  + }
  auto iter = lockdata.writelocksheld.find(c);
  if (iter == lockdata.writelocksheld.end())
  {
  @@ -384,6 +388,10 @@ void SetWaitingToHeld(void *c, OwnershipType ownership)
  {
  it->second.erase(tid);
  }
  + else
  + {
  + DbgAssert(!"Missing read lock waiting", );
  + }
  auto iter = lockdata.readlocksheld.find(c);
  if (iter == lockdata.readlocksheld.end())
  {
  