BMessage now sends B_NO_REPLY on destruction if no reply has been sent.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8637 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
68247322bf
commit
b9c2cb3cd1
@ -168,7 +168,10 @@ BMessage::BMessage(BMessage *a_message)
|
||||
//------------------------------------------------------------------------------
|
||||
BMessage::~BMessage()
|
||||
{
|
||||
// ToDo: send outstanding reply!
|
||||
if (IsSourceWaiting())
|
||||
{
|
||||
SendReply(B_NO_REPLY);
|
||||
}
|
||||
delete fBody;
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user