diff --git a/src/kits/app/Looper.cpp b/src/kits/app/Looper.cpp index 6c0b72e49e..579d1db4f0 100644 --- a/src/kits/app/Looper.cpp +++ b/src/kits/app/Looper.cpp @@ -143,7 +143,7 @@ BLooper::~BLooper() // msg will automagically post generic reply } - if (!fOwnsPort) { + if (fOwnsPort) { do { delete ReadMessageFromPort(0); // msg will automagically post generic reply