fix a problem in case the port id was indeed 0, which is very unlikely though
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16714 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -133,7 +133,7 @@ BLooper::~BLooper()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Close the message port and read and reply to the remaining messages.
|
// Close the message port and read and reply to the remaining messages.
|
||||||
if (fMsgPort > 0)
|
if (fMsgPort >= 0)
|
||||||
close_port(fMsgPort);
|
close_port(fMsgPort);
|
||||||
|
|
||||||
BMessage *msg;
|
BMessage *msg;
|
||||||
|
|||||||
Reference in New Issue
Block a user