* Made BApplication::Private public. Should not have worked before (probably
a compiler bug). * Don't try to cleanup the app server connection stuff, when compiled with RUN_WITHOUT_APP_SERVER. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13414 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a406236dc2
commit
a60ea28262
|
@ -92,10 +92,11 @@ public:
|
||||||
// Private or reserved ---------------------------------------------------------
|
// Private or reserved ---------------------------------------------------------
|
||||||
virtual status_t Perform(perform_code d, void* arg);
|
virtual status_t Perform(perform_code d, void* arg);
|
||||||
|
|
||||||
|
class Private;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
typedef BLooper _inherited;
|
typedef BLooper _inherited;
|
||||||
|
|
||||||
class Private;
|
|
||||||
friend class Private;
|
friend class Private;
|
||||||
|
|
||||||
friend class BServer;
|
friend class BServer;
|
||||||
|
|
|
@ -222,11 +222,11 @@ BApplication::~BApplication()
|
||||||
BPrivate::AppServerLink link;
|
BPrivate::AppServerLink link;
|
||||||
link.StartMessage(B_QUIT_REQUESTED);
|
link.StartMessage(B_QUIT_REQUESTED);
|
||||||
link.Flush();
|
link.Flush();
|
||||||
#endif // RUN_WITHOUT_APP_SERVER
|
|
||||||
|
|
||||||
delete_port(fServerLink->SenderPort());
|
delete_port(fServerLink->SenderPort());
|
||||||
delete_port(fServerLink->ReceiverPort());
|
delete_port(fServerLink->ReceiverPort());
|
||||||
delete fServerLink;
|
delete fServerLink;
|
||||||
|
#endif // RUN_WITHOUT_APP_SERVER
|
||||||
|
|
||||||
// uninitialize be_app, the be_app_messenger is invalidated automatically
|
// uninitialize be_app, the be_app_messenger is invalidated automatically
|
||||||
be_app = NULL;
|
be_app = NULL;
|
||||||
|
|
Loading…
Reference in New Issue