We must not delete the server window's port...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13510 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
189ba7a9dc
commit
d520c103e5
@ -191,8 +191,7 @@ BWindow::BWindow(BMessage* data)
|
||||
|
||||
|
||||
BWindow::BWindow(BRect frame, int32 bitmapToken)
|
||||
:
|
||||
BLooper("offscreen bitmap")
|
||||
: BLooper("offscreen bitmap")
|
||||
{
|
||||
// TODO: Implement for real
|
||||
decomposeType(B_UNTYPED_WINDOW, &fLook, &fFeel);
|
||||
@ -221,7 +220,7 @@ BWindow::~BWindow()
|
||||
fLink->StartMessage(AS_DELETE_WINDOW);
|
||||
fLink->Flush();
|
||||
|
||||
delete_port(fLink->SenderPort());
|
||||
// the sender port belongs to the app_server
|
||||
delete_port(fLink->ReceiverPort());
|
||||
delete fLink;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user