Setting fRunCalled in case of failure is stupid, as this prevents the
window from being freed on Quit(). There still is a memory leak within StressTest, though - but it's pretty tiny now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16753 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2046,7 +2046,6 @@ BWindow::Show()
|
||||
if (fLink->SenderPort() < B_OK) {
|
||||
// We don't have valid app_server connection; there is no point
|
||||
// in starting our looper
|
||||
fRunCalled = true;
|
||||
fTaskID = B_ERROR;
|
||||
return;
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user