* 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:
Ingo Weinhold 2005-07-03 16:53:59 +00:00
parent a406236dc2
commit a60ea28262
2 changed files with 3 additions and 2 deletions

View File

@ -92,10 +92,11 @@ public:
// Private or reserved ---------------------------------------------------------
virtual status_t Perform(perform_code d, void* arg);
class Private;
private:
typedef BLooper _inherited;
class Private;
friend class Private;
friend class BServer;

View File

@ -222,11 +222,11 @@ BApplication::~BApplication()
BPrivate::AppServerLink link;
link.StartMessage(B_QUIT_REQUESTED);
link.Flush();
#endif // RUN_WITHOUT_APP_SERVER
delete_port(fServerLink->SenderPort());
delete_port(fServerLink->ReceiverPort());
delete fServerLink;
#endif // RUN_WITHOUT_APP_SERVER
// uninitialize be_app, the be_app_messenger is invalidated automatically
be_app = NULL;