diff --git a/src/kits/app/Looper.cpp b/src/kits/app/Looper.cpp index ea3542575d..7f47adffe7 100644 --- a/src/kits/app/Looper.cpp +++ b/src/kits/app/Looper.cpp @@ -133,7 +133,7 @@ BLooper::~BLooper() } // Close the message port and read and reply to the remaining messages. - if (fMsgPort > 0) + if (fMsgPort >= 0) close_port(fMsgPort); BMessage *msg;