| 516 | } |
| 517 | |
| 518 | void BpCmdTarget::Leave() |
| 519 | { |
| 520 | BPCMD_PREPARE; |
| 521 | |
| 522 | if (mCurDepth <= 0) |
| 523 | { |
| 524 | // This is either due to improperly balanced Enter/Leaves or from a Reconnnect |
| 525 | BF_ASSERT(BpManager::Get()->mInitCount > 1); |
| 526 | return; |
| 527 | } |
| 528 | |
| 529 | BPCMD_RESERVE(1 + 8); |
| 530 | BPCMD_MEMBER(uint8) = BpCmd_Leave; |
| 531 | BPCMD_MEMBER(int64) = GetTimestamp(); |
| 532 | BPCMD_END(); |
| 533 | |
| 534 | mCurDepth--; |
| 535 | } |
| 536 | |
| 537 | void BpCmdTarget::Event(const char* name, const char* details) |
| 538 | { |
no test coverage detected