BLooper: Fix inverted check that was causing a port leak.
Fixes #12286. Thanks to ttcoder & jackburton for investigating!
This commit is contained in:
parent
6ca16f31cb
commit
7d407a1e99
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user